Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 173.1 kB / 498.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 95.95 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 7.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3564, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.374, allocations: 1.937 GB / 3.16 GB, free: 50.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.375, allocations: 94.31 kB / 3.16 GB, free: 50.25 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.316/6.69, allocations: 318.6 MB / 3.472 GB, free: 209.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.074e-06/6.69, allocations: 4 kB / 3.472 GB, free: 209.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000155/6.691, allocations: 43.98 kB / 3.472 GB, free: 209.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004303/6.695, allocations: 1.91 MB / 3.473 GB, free: 207.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/6.695, allocations: 8.031 kB / 3.473 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/6.699, allocations: 0.5011 MB / 3.474 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/6.701, allocations: 0.9739 MB / 3.475 GB, free: 205.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.617e-05/6.701, allocations: 123.3 kB / 3.475 GB, free: 205.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/6.701, allocations: 159.9 kB / 3.475 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/6.705, allocations: 1.744 MB / 3.477 GB, free: 203.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/6.705, allocations: 0 / 3.477 GB, free: 203.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/6.705, allocations: 72 kB / 3.477 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/6.705, allocations: 40 kB / 3.477 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/6.708, allocations: 1.816 MB / 3.479 GB, free: 201.8 MB / 1.167 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.007182/6.716, allocations: 4.867 MB / 3.484 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/6.718, allocations: 1.674 MB / 3.485 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/6.719, allocations: 0.8078 MB / 3.486 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/6.72, allocations: 0.8099 MB / 3.487 GB, free: 193.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.266e-06/6.72, allocations: 3.938 kB / 3.487 GB, free: 193.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.005259/6.725, allocations: 2.453 MB / 3.489 GB, free: 190.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/6.725, allocations: 252.6 kB / 3.489 GB, free: 190.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/6.726, allocations: 0.7471 MB / 3.49 GB, free: 189.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/6.727, allocations: 57.7 kB / 3.49 GB, free: 189.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/6.727, allocations: 0.625 MB / 3.491 GB, free: 188.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/6.727, allocations: 465.2 kB / 3.491 GB, free: 188.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/6.727, allocations: 27.94 kB / 3.491 GB, free: 188.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/6.727, allocations: 349.9 kB / 3.492 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/6.728, allocations: 438.4 kB / 3.492 GB, free: 187.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/6.729, allocations: 0.5919 MB / 3.493 GB, free: 187 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/6.73, allocations: 0.5139 MB / 3.493 GB, free: 186.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/6.73, allocations: 0 / 3.493 GB, free: 186.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002931/6.733, allocations: 1.413 MB / 3.494 GB, free: 185 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/6.733, allocations: 4 kB / 3.494 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/6.733, allocations: 0 / 3.494 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/6.734, allocations: 200.1 kB / 3.495 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/6.735, allocations: 295.6 kB / 3.495 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/6.74, allocations: 6.816 MB / 3.502 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/6.742, allocations: 139 kB / 3.502 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/6.742, allocations: 51.97 kB / 3.502 GB, free: 176.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001047/6.743, allocations: 357.3 kB / 3.502 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/6.744, allocations: 126.5 kB / 3.502 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/6.748, allocations: 1.76 MB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/6.748, allocations: 19.98 kB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/6.748, allocations: 4 kB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/6.748, allocations: 11.91 kB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/6.753, allocations: 3.32 MB / 3.507 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/6.754, allocations: 4 kB / 3.507 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/6.755, allocations: 307.6 kB / 3.508 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/6.756, allocations: 200 kB / 3.508 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-05/6.756, allocations: 39.97 kB / 3.508 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/6.76, allocations: 6.85 MB / 3.514 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/6.76, allocations: 0 / 3.514 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/6.763, allocations: 1.597 MB / 3.516 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/6.764, allocations: 407 kB / 3.516 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/6.764, allocations: 35.98 kB / 3.516 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/6.766, allocations: 119.8 kB / 3.517 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/6.766, allocations: 101.1 kB / 3.517 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/6.766, allocations: 71.94 kB / 3.517 GB, free: 160.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006849/6.767, allocations: 0.6046 MB / 3.517 GB, free: 160.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/6.767, allocations: 0 / 3.517 GB, free: 160.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001902/6.769, allocations: 0.6858 MB / 3.518 GB, free: 159.4 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002586/6.771, allocations: 1.665 MB / 3.52 GB, free: 157.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002695/6.774, allocations: 1.746 MB / 3.521 GB, free: 156.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/6.774, allocations: 0.5625 kB / 3.521 GB, free: 156.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/6.775, allocations: 1.266 MB / 3.523 GB, free: 154.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/6.777, allocations: 446.4 kB / 3.523 GB, free: 154.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/6.783, allocations: 3.49 MB / 3.526 GB, free: 150.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/6.783, allocations: 1.304 MB / 3.528 GB, free: 149.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001698/6.785, allocations: 409.5 kB / 3.528 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/6.785, allocations: 143.4 kB / 3.528 GB, free: 149 MB / 1.167 GB Notification: Performance of SimCode: time 6.91e-07/6.785, allocations: 7.938 kB / 3.528 GB, free: 149 MB / 1.167 GB Notification: Performance of Templates: time 0.04779/6.833, allocations: 38 MB / 3.565 GB, free: 111.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches