Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 105.7 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.45 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6769/0.917, allocations: 176 MB / 1.123 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.9331, allocations: 12.73 MB / 1.135 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.9349, allocations: 28.66 kB / 1.135 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.9363, allocations: 452 kB / 1.136 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.9398, allocations: 0.9693 MB / 1.137 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.9453, allocations: 1.856 MB / 1.139 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.9489, allocations: 2.409 MB / 1.141 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.9513, allocations: 1.625 MB / 1.143 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.9555, allocations: 1.412 MB / 1.144 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.957, allocations: 0.8609 MB / 1.145 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.9573, allocations: 171.5 kB / 1.145 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.9604, allocations: 1.43 MB / 1.146 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.9608, allocations: 493.6 kB / 1.147 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.9617, allocations: 0.8488 MB / 1.148 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.9662, allocations: 2.758 MB / 1.15 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.9662, allocations: 0 / 1.15 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9662, allocations: 0 / 1.15 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.9663, allocations: 0 / 1.15 GB, free: 0.6211 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004112/0.9704, allocations: 2.009 MB / 1.152 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9704, allocations: 8.75 kB / 1.152 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.9732, allocations: 408.9 kB / 1.153 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.9751, allocations: 1.031 MB / 1.154 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.9752, allocations: 106.6 kB / 1.154 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.9754, allocations: 129 kB / 1.154 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.9782, allocations: 1.516 MB / 1.155 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.9782, allocations: 5.094 kB / 1.155 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9784, allocations: 58.38 kB / 1.156 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.9784, allocations: 37.69 kB / 1.156 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.9813, allocations: 1.585 MB / 1.157 GB, free: 13.38 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007822/0.9891, allocations: 5.019 MB / 1.162 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.992, allocations: 1.518 MB / 1.163 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.9929, allocations: 484.6 kB / 1.164 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.9936, allocations: 432.6 kB / 1.164 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.995, allocations: 0.6906 MB / 1.165 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 4.558e-06/0.995, allocations: 0 / 1.165 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.004858/0.9999, allocations: 1.657 MB / 1.167 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1, allocations: 203.8 kB / 1.167 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.002, allocations: 0.8927 MB / 1.168 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.002, allocations: 55.95 kB / 1.168 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/1.002, allocations: 0.591 MB / 1.168 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/1.003, allocations: 357.5 kB / 1.169 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/1.003, allocations: 215.4 kB / 1.169 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.003, allocations: 346.9 kB / 1.169 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/1.004, allocations: 405.2 kB / 1.17 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.005, allocations: 0.5639 MB / 1.17 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/1.007, allocations: 0.9524 MB / 1.171 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.007, allocations: 0 / 1.171 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002972/1.01, allocations: 1.235 MB / 1.172 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.01, allocations: 9.281 kB / 1.172 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.01, allocations: 3.219 kB / 1.172 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/1.011, allocations: 85.91 kB / 1.172 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.012, allocations: 262.9 kB / 1.173 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.014, allocations: 1.647 MB / 1.174 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.016, allocations: 134.1 kB / 1.174 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.016, allocations: 51.34 kB / 1.174 GB, free: 2.285 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007713/1.017, allocations: 351.6 kB / 1.175 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/1.017, allocations: 130.4 kB / 1.175 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/1.021, allocations: 1.425 MB / 1.176 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.021, allocations: 17.2 kB / 1.176 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.021, allocations: 0 / 1.176 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.021, allocations: 3.984 kB / 1.176 GB, free: 1.145 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.005642/1.026, allocations: 2.87 MB / 1.179 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.026, allocations: 0 / 1.179 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/1.027, allocations: 225.2 kB / 1.179 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.028, allocations: 73.94 kB / 1.179 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.028, allocations: 35 kB / 1.179 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.03, allocations: 1.665 MB / 1.181 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.03, allocations: 6.656 kB / 1.181 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/1.033, allocations: 1.32 MB / 1.182 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/1.034, allocations: 357 kB / 1.183 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.034, allocations: 23.5 kB / 1.183 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.035, allocations: 78.83 kB / 1.183 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.035, allocations: 93.47 kB / 1.183 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.035, allocations: 56.42 kB / 1.183 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001055/1.036, allocations: 0.6152 MB / 1.184 GB, free: 12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 0 / 1.184 GB, free: 12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001617/1.038, allocations: 481.8 kB / 1.184 GB, free: 11.87 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/1.04, allocations: 0.7127 MB / 1.185 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002524/1.043, allocations: 1.153 MB / 1.186 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.043, allocations: 6.5 kB / 1.186 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.044, allocations: 0.6756 MB / 1.186 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.046, allocations: 0.5196 MB / 1.187 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/1.052, allocations: 2.431 MB / 1.189 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/1.053, allocations: 1.208 MB / 1.191 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001409/1.054, allocations: 387.1 kB / 1.191 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.055, allocations: 143.8 kB / 1.191 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of SimCode: time 7.12e-07/1.055, allocations: 0 / 1.191 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of Templates: time 0.04198/1.097, allocations: 23.96 MB / 1.214 GB, free: 8.273 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches