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.345/2.345, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.0011/0.0011, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.641/1.641, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008851/0.0008846, allocations: 102.7 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2836, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.778/6.061, allocations: 1.937 GB / 3.15 GB, free: 333.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/6.062, allocations: 85.77 kB / 3.15 GB, free: 333.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6402/6.702, allocations: 318.1 MB / 3.461 GB, free: 26.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.625e-06/6.702, allocations: 0 / 3.461 GB, free: 26.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001987/6.702, allocations: 51.92 kB / 3.461 GB, free: 26.55 MB / 1.151 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.00451/6.707, allocations: 1.757 MB / 3.462 GB, free: 24.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/6.707, allocations: 8.031 kB / 3.462 GB, free: 24.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/6.711, allocations: 0.4895 MB / 3.463 GB, free: 24.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/6.713, allocations: 0.9661 MB / 3.464 GB, free: 23.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/6.713, allocations: 127.3 kB / 3.464 GB, free: 23.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/6.713, allocations: 160 kB / 3.464 GB, free: 22.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/6.717, allocations: 1.686 MB / 3.466 GB, free: 21.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/6.717, allocations: 0 / 3.466 GB, free: 21.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/6.717, allocations: 80 kB / 3.466 GB, free: 21.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/6.717, allocations: 40 kB / 3.466 GB, free: 21.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/6.72, allocations: 1.711 MB / 3.467 GB, free: 19.38 MB / 1.151 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.007572/6.727, allocations: 4.855 MB / 3.472 GB, free: 14.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/6.729, allocations: 1.577 MB / 3.474 GB, free: 12.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/6.73, allocations: 0.5781 MB / 3.474 GB, free: 12.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/6.731, allocations: 0.8 MB / 3.475 GB, free: 11.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/6.732, allocations: 0.7672 MB / 3.476 GB, free: 10.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 5.721e-06/6.732, allocations: 3.938 kB / 3.476 GB, free: 10.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003024/6.735, allocations: 1.347 MB / 3.477 GB, free: 8.957 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/6.735, allocations: 248.6 kB / 3.477 GB, free: 8.66 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/6.736, allocations: 0.7432 MB / 3.478 GB, free: 7.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/6.736, allocations: 57.7 kB / 3.478 GB, free: 7.848 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/6.737, allocations: 0.625 MB / 3.479 GB, free: 7.211 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/6.737, allocations: 457.3 kB / 3.479 GB, free: 6.758 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/6.737, allocations: 20 kB / 3.479 GB, free: 6.738 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/6.737, allocations: 361.9 kB / 3.48 GB, free: 6.379 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/6.738, allocations: 398.5 kB / 3.48 GB, free: 5.988 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/6.739, allocations: 0.5569 MB / 3.48 GB, free: 5.391 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/6.739, allocations: 476.8 kB / 3.481 GB, free: 4.926 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/6.74, allocations: 3.938 kB / 3.481 GB, free: 4.922 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00249/6.742, allocations: 1.323 MB / 3.482 GB, free: 3.574 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/6.742, allocations: 13.23 kB / 3.482 GB, free: 3.562 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/6.742, allocations: 0 / 3.482 GB, free: 3.562 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/6.743, allocations: 192.2 kB / 3.482 GB, free: 3.359 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/6.744, allocations: 291.6 kB / 3.483 GB, free: 3.074 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7631/7.507, allocations: 6.752 MB / 3.489 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/7.509, allocations: 147.9 kB / 3.489 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/7.509, allocations: 48.45 kB / 3.489 GB, free: 304.6 MB / 1.151 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 () * 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.0003911/7.51, allocations: 177.9 kB / 3.49 GB, free: 304.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/7.51, allocations: 128.6 kB / 3.49 GB, free: 304.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/7.514, allocations: 1.666 MB / 3.491 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/7.514, allocations: 13.78 kB / 3.491 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/7.514, allocations: 4.25 kB / 3.491 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/7.514, allocations: 9.203 kB / 3.491 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/7.521, allocations: 3.239 MB / 3.495 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/7.521, allocations: 4.812 kB / 3.495 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/7.522, allocations: 310.8 kB / 3.495 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/7.523, allocations: 191.8 kB / 3.495 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/7.523, allocations: 38.89 kB / 3.495 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004788/7.528, allocations: 6.794 MB / 3.502 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/7.528, allocations: 0 / 3.502 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/7.532, allocations: 1.516 MB / 3.503 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/7.533, allocations: 414.3 kB / 3.504 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/7.533, allocations: 31.11 kB / 3.504 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/7.534, allocations: 124.8 kB / 3.504 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/7.535, allocations: 105.6 kB / 3.504 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/7.535, allocations: 65.02 kB / 3.504 GB, free: 297.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009639/7.536, allocations: 0.5951 MB / 3.505 GB, free: 297 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/7.536, allocations: 0 / 3.505 GB, free: 297 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002768/7.539, allocations: 0.6769 MB / 3.505 GB, free: 297 MB / 1.151 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 (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.004365/7.543, allocations: 1.625 MB / 3.507 GB, free: 296.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004434/7.548, allocations: 1.647 MB / 3.508 GB, free: 296.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/7.548, allocations: 3.375 kB / 3.508 GB, free: 296.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/7.55, allocations: 1.205 MB / 3.51 GB, free: 295.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/7.553, allocations: 442.1 kB / 3.51 GB, free: 295.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/7.56, allocations: 2.18 MB / 3.512 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/7.561, allocations: 1.304 MB / 3.513 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002363/7.563, allocations: 411.2 kB / 3.514 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/7.564, allocations: 142.6 kB / 3.514 GB, free: 294.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.353e-06/7.564, allocations: 2.188 kB / 3.514 GB, free: 294.3 MB / 1.151 GB Notification: Performance of Templates: time 0.08561/7.649, allocations: 40.99 MB / 3.554 GB, free: 293.1 MB / 1.151 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