Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009163, allocations: 96.03 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.929e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.321/5.554, allocations: 2.219 GB / 3.111 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/5.555, allocations: 91.64 kB / 3.111 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.22/6.775, allocations: 395.3 MB / 3.497 GB, free: 72.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.27e-06/6.775, allocations: 0 / 3.497 GB, free: 72.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000156/6.775, allocations: 36 kB / 3.497 GB, free: 72.64 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.0036/6.778, allocations: 1.598 MB / 3.499 GB, free: 71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/6.779, allocations: 12.02 kB / 3.499 GB, free: 70.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/6.781, allocations: 398 kB / 3.499 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/6.784, allocations: 1.152 MB / 3.5 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/6.784, allocations: 110.5 kB / 3.5 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/6.784, allocations: 124 kB / 3.5 GB, free: 69.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/6.787, allocations: 1.386 MB / 3.502 GB, free: 67.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/6.787, allocations: 11.94 kB / 3.502 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/6.787, allocations: 52 kB / 3.502 GB, free: 67.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/6.787, allocations: 32 kB / 3.502 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/6.789, allocations: 1.45 MB / 3.503 GB, free: 66.15 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006697/6.795, allocations: 4.967 MB / 3.508 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/6.797, allocations: 1.223 MB / 3.509 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/6.798, allocations: 439.8 kB / 3.51 GB, free: 59.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/6.798, allocations: 433.1 kB / 3.51 GB, free: 58.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008769/6.799, allocations: 0.6027 MB / 3.511 GB, free: 58.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 3.918e-06/6.799, allocations: 0 / 3.511 GB, free: 58.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.002367/6.802, allocations: 1.015 MB / 3.512 GB, free: 57.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/6.802, allocations: 244.1 kB / 3.512 GB, free: 56.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/6.803, allocations: 0.7874 MB / 3.513 GB, free: 55.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/6.803, allocations: 49.7 kB / 3.513 GB, free: 55.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/6.803, allocations: 0.57 MB / 3.513 GB, free: 55.35 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/6.804, allocations: 327.2 kB / 3.513 GB, free: 55.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/6.804, allocations: 20 kB / 3.514 GB, free: 55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/6.804, allocations: 337.9 kB / 3.514 GB, free: 54.67 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/6.804, allocations: 325.9 kB / 3.514 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/6.805, allocations: 0.5146 MB / 3.515 GB, free: 53.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/6.805, allocations: 411.1 kB / 3.515 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/6.805, allocations: 0 / 3.515 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002078/6.808, allocations: 1.067 MB / 3.516 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/6.808, allocations: 4 kB / 3.516 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/6.808, allocations: 4 kB / 3.516 GB, free: 52.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/6.808, allocations: 89.14 kB / 3.516 GB, free: 52.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/6.809, allocations: 227.7 kB / 3.516 GB, free: 51.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/6.811, allocations: 1.533 MB / 3.518 GB, free: 50.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/6.812, allocations: 139 kB / 3.518 GB, free: 50.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-05/6.813, allocations: 43.97 kB / 3.518 GB, free: 50.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003418/6.813, allocations: 163 kB / 3.518 GB, free: 49.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/6.813, allocations: 118.7 kB / 3.518 GB, free: 49.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/6.816, allocations: 1.318 MB / 3.52 GB, free: 48.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/6.816, allocations: 12 kB / 3.52 GB, free: 48.49 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/6.816, allocations: 0 / 3.52 GB, free: 48.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/6.816, allocations: 3.984 kB / 3.52 GB, free: 48.48 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/6.82, allocations: 2.63 MB / 3.522 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/6.82, allocations: 0 / 3.522 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/6.821, allocations: 219.7 kB / 3.522 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/6.821, allocations: 84.78 kB / 3.522 GB, free: 45.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/6.821, allocations: 31.97 kB / 3.523 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/6.823, allocations: 1.548 MB / 3.524 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/6.823, allocations: 0 / 3.524 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/6.825, allocations: 1.195 MB / 3.525 GB, free: 42.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/6.826, allocations: 375.2 kB / 3.526 GB, free: 42.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/6.826, allocations: 24 kB / 3.526 GB, free: 42.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/6.827, allocations: 99.84 kB / 3.526 GB, free: 42.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/6.827, allocations: 76.83 kB / 3.526 GB, free: 41.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/6.827, allocations: 51.97 kB / 3.526 GB, free: 41.92 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007867/6.828, allocations: 0.6141 MB / 3.526 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/6.828, allocations: 4 kB / 3.526 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002101/6.83, allocations: 0.5963 MB / 3.527 GB, free: 40.69 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00333/6.833, allocations: 1.832 MB / 3.529 GB, free: 38.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001793/6.835, allocations: 0.9921 MB / 3.53 GB, free: 37.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/6.835, allocations: 4 kB / 3.53 GB, free: 37.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/6.836, allocations: 0.6211 MB / 3.53 GB, free: 37.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/6.838, allocations: 464.8 kB / 3.531 GB, free: 36.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/6.842, allocations: 1.85 MB / 3.533 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/6.843, allocations: 1.213 MB / 3.534 GB, free: 33.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001505/6.844, allocations: 392.9 kB / 3.534 GB, free: 33.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/6.845, allocations: 127.4 kB / 3.534 GB, free: 33.17 MB / 0.8698 GB Notification: Performance of SimCode: time 2.665e-06/6.845, allocations: 4 kB / 3.534 GB, free: 33.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.5838/7.429, allocations: 41.59 MB / 3.575 GB, free: 192.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches