Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001442/0.001442, allocations: 183 kB / 0.4902 GB, free: 2.293 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.801/1.801, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001149/0.001149, allocations: 92.03 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004476, allocations: 15 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.515/4.868, allocations: 1.938 GB / 3.167 GB, free: 42.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/4.869, allocations: 87.95 kB / 3.168 GB, free: 42.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.356/6.224, allocations: 318.6 MB / 3.479 GB, free: 192.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.016e-06/6.224, allocations: 0 / 3.479 GB, free: 192.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00011/6.225, allocations: 51.98 kB / 3.479 GB, free: 192.5 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.003298/6.228, allocations: 1.901 MB / 3.481 GB, free: 190.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/6.228, allocations: 8.562 kB / 3.481 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/6.231, allocations: 0.4972 MB / 3.481 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/6.233, allocations: 0.9738 MB / 3.482 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/6.233, allocations: 123.3 kB / 3.482 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/6.233, allocations: 164 kB / 3.482 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/6.236, allocations: 1.744 MB / 3.484 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/6.236, allocations: 0 / 3.484 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/6.236, allocations: 76 kB / 3.484 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/6.236, allocations: 40 kB / 3.484 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/6.238, allocations: 1.819 MB / 3.486 GB, free: 185 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.006282/6.245, allocations: 4.867 MB / 3.491 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/6.247, allocations: 1.67 MB / 3.492 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/6.248, allocations: 0.8039 MB / 3.493 GB, free: 177.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/6.249, allocations: 0.8138 MB / 3.494 GB, free: 176.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 2.725e-06/6.249, allocations: 0 / 3.494 GB, free: 176.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.005387/6.254, allocations: 2.445 MB / 3.496 GB, free: 173.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/6.254, allocations: 248.6 kB / 3.496 GB, free: 173.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/6.255, allocations: 0.7625 MB / 3.497 GB, free: 172.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/6.256, allocations: 49.7 kB / 3.497 GB, free: 172.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/6.256, allocations: 0.6289 MB / 3.498 GB, free: 172 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/6.256, allocations: 457.3 kB / 3.498 GB, free: 171.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/6.256, allocations: 24 kB / 3.498 GB, free: 171.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/6.256, allocations: 345.9 kB / 3.499 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/6.257, allocations: 446.4 kB / 3.499 GB, free: 170.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/6.258, allocations: 0.5919 MB / 3.5 GB, free: 170.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/6.259, allocations: 0.51 MB / 3.5 GB, free: 169.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/6.259, allocations: 7.875 kB / 3.5 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002862/6.262, allocations: 1.409 MB / 3.502 GB, free: 168.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/6.262, allocations: 11.94 kB / 3.502 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/6.262, allocations: 0 / 3.502 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/6.263, allocations: 192.2 kB / 3.502 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/6.264, allocations: 295.6 kB / 3.502 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/6.268, allocations: 6.823 MB / 3.509 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/6.27, allocations: 146.9 kB / 3.509 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/6.27, allocations: 47.97 kB / 3.509 GB, free: 160 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.0008667/6.271, allocations: 359 kB / 3.509 GB, free: 159.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/6.271, allocations: 126.6 kB / 3.509 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/6.274, allocations: 1.756 MB / 3.511 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/6.274, allocations: 16 kB / 3.511 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/6.274, allocations: 3.984 kB / 3.511 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/6.274, allocations: 7.984 kB / 3.511 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/6.28, allocations: 3.324 MB / 3.514 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/6.28, allocations: 0 / 3.514 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/6.281, allocations: 323.5 kB / 3.515 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007648/6.282, allocations: 196.1 kB / 3.515 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/6.282, allocations: 39.97 kB / 3.515 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/6.286, allocations: 6.842 MB / 3.522 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/6.286, allocations: 0 / 3.522 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/6.289, allocations: 1.605 MB / 3.523 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/6.29, allocations: 407 kB / 3.523 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/6.29, allocations: 24 kB / 3.524 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/6.291, allocations: 131.8 kB / 3.524 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/6.291, allocations: 97.17 kB / 3.524 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/6.291, allocations: 63.95 kB / 3.524 GB, free: 143.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007816/6.292, allocations: 0.6084 MB / 3.524 GB, free: 143.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.292, allocations: 0 / 3.524 GB, free: 143.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00228/6.294, allocations: 0.6897 MB / 3.525 GB, free: 142.6 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.002798/6.297, allocations: 1.665 MB / 3.527 GB, free: 141.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002686/6.3, allocations: 1.742 MB / 3.528 GB, free: 139.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/6.3, allocations: 8.5 kB / 3.528 GB, free: 139.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/6.301, allocations: 1.254 MB / 3.53 GB, free: 137.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/6.303, allocations: 434 kB / 3.53 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/6.309, allocations: 3.511 MB / 3.533 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/6.31, allocations: 1.311 MB / 3.535 GB, free: 132.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001689/6.311, allocations: 413.5 kB / 3.535 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/6.312, allocations: 139.4 kB / 3.535 GB, free: 132.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.31e-07/6.312, allocations: 0 / 3.535 GB, free: 132.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04856/6.36, allocations: 38 MB / 3.572 GB, free: 94.31 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches