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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001861/0.001861, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6219, allocations: 140.4 MB / 0.9496 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2015/0.8234, allocations: 176 MB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.8411, allocations: 12.74 MB / 1.134 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.8432, allocations: 31.81 kB / 1.134 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.8449, allocations: 440.7 kB / 1.134 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.8484, allocations: 0.9665 MB / 1.135 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.8535, allocations: 1.864 MB / 1.137 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.8574, allocations: 2.396 MB / 1.139 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.86, allocations: 1.625 MB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.8641, allocations: 1.396 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.8654, allocations: 0.8557 MB / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.8656, allocations: 175.9 kB / 1.143 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.8686, allocations: 1.4 MB / 1.145 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.8691, allocations: 494.5 kB / 1.145 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.87, allocations: 0.8512 MB / 1.146 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.874, allocations: 2.707 MB / 1.149 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.874, allocations: 0 / 1.149 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/0.874, allocations: 0 / 1.149 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.874, allocations: 0 / 1.149 GB, free: 5.355 MB / 0.9044 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.003578/0.8776, allocations: 2.001 MB / 1.151 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8777, allocations: 12.03 kB / 1.151 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.8804, allocations: 405.6 kB / 1.151 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.8821, allocations: 0.9916 MB / 1.152 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.8822, allocations: 102.7 kB / 1.152 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.8824, allocations: 132 kB / 1.152 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.8849, allocations: 1.518 MB / 1.154 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.885, allocations: 7.938 kB / 1.154 GB, free: 16 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.8851, allocations: 60.05 kB / 1.154 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.8852, allocations: 36 kB / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.8879, allocations: 1.579 MB / 1.155 GB, free: 14.34 MB / 0.92 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.007492/0.8954, allocations: 5.075 MB / 1.16 GB, free: 8.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.8982, allocations: 1.531 MB / 1.162 GB, free: 7.383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/0.8991, allocations: 482.4 kB / 1.162 GB, free: 6.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.8999, allocations: 425.3 kB / 1.163 GB, free: 6.426 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.9011, allocations: 0.6841 MB / 1.163 GB, free: 5.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.9011, allocations: 11.94 kB / 1.163 GB, free: 5.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004631/0.9058, allocations: 1.653 MB / 1.165 GB, free: 4.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.9059, allocations: 200.8 kB / 1.165 GB, free: 3.789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.9072, allocations: 0.892 MB / 1.166 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.9073, allocations: 53.7 kB / 1.166 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.9078, allocations: 0.5935 MB / 1.167 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.9082, allocations: 362.8 kB / 1.167 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.9085, allocations: 218.8 kB / 1.167 GB, free: 1.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9087, allocations: 345.9 kB / 1.168 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/0.9095, allocations: 402.4 kB / 1.168 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.9106, allocations: 0.5668 MB / 1.169 GB, free: 288 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.9124, allocations: 0.9527 MB / 1.169 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9125, allocations: 4 kB / 1.169 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002873/0.9153, allocations: 1.231 MB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.9154, allocations: 9.875 kB / 1.171 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9154, allocations: 0 / 1.171 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.916, allocations: 85.19 kB / 1.171 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.9172, allocations: 259.6 kB / 1.171 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.9196, allocations: 1.651 MB / 1.173 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.9209, allocations: 130.8 kB / 1.173 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.921, allocations: 51.95 kB / 1.173 GB, free: 11.72 MB / 0.9356 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.0007716/0.9218, allocations: 347.2 kB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.9221, allocations: 126.5 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.9253, allocations: 1.441 MB / 1.175 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.9254, allocations: 12 kB / 1.175 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9254, allocations: 4 kB / 1.175 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.9254, allocations: 3.984 kB / 1.175 GB, free: 9.77 MB / 0.9356 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.004978/0.9304, allocations: 2.874 MB / 1.177 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.9304, allocations: 3.938 kB / 1.177 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.9314, allocations: 219.7 kB / 1.178 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.9319, allocations: 72.78 kB / 1.178 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.932, allocations: 35.97 kB / 1.178 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.9339, allocations: 1.674 MB / 1.179 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9339, allocations: 0 / 1.179 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.9368, allocations: 1.316 MB / 1.181 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.9374, allocations: 363.1 kB / 1.181 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.9376, allocations: 27.94 kB / 1.181 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009492/0.9385, allocations: 79.92 kB / 1.181 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.9387, allocations: 92.75 kB / 1.181 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.9388, allocations: 51.95 kB / 1.181 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008336/0.9396, allocations: 0.615 MB / 1.182 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9397, allocations: 0 / 1.182 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00128/0.9409, allocations: 486.8 kB / 1.182 GB, free: 1.602 MB / 0.9356 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.001695/0.9426, allocations: 0.6983 MB / 1.183 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003602/0.9463, allocations: 1.476 MB / 1.185 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.9463, allocations: 0 / 1.185 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.9476, allocations: 0.6797 MB / 1.185 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.95, allocations: 0.5252 MB / 1.186 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.9555, allocations: 2.462 MB / 1.188 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.9563, allocations: 1.209 MB / 1.189 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001645/0.9579, allocations: 385.7 kB / 1.19 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.9583, allocations: 139.4 kB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/0.9583, allocations: 4 kB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.04354/1.002, allocations: 23.98 MB / 1.213 GB, free: 2.488 MB / 0.9669 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 -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/jenkins/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