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.066/2.066, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001169/0.001169, allocations: 176.9 kB / 487.4 MB, free: 5.059 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.446/1.446, allocations: 221.5 MB / 0.7824 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 107 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.075e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.709/4.982, allocations: 1.937 GB / 3.143 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/4.983, allocations: 86.44 kB / 3.143 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5599/5.543, allocations: 314.9 MB / 3.45 GB, free: 53.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.422e-06/5.543, allocations: 3.938 kB / 3.45 GB, free: 53.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001491/5.543, allocations: 51.98 kB / 3.45 GB, free: 52.97 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.003513/5.546, allocations: 1.749 MB / 3.452 GB, free: 51.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/5.546, allocations: 8.031 kB / 3.452 GB, free: 51.15 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/5.55, allocations: 0.4973 MB / 3.453 GB, free: 50.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/5.552, allocations: 0.9583 MB / 3.453 GB, free: 49.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/5.552, allocations: 60 kB / 3.454 GB, free: 49.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/5.552, allocations: 92 kB / 3.454 GB, free: 49.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002287/5.554, allocations: 1.626 MB / 3.455 GB, free: 47.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/5.556, allocations: 1.446 MB / 3.457 GB, free: 46.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/5.556, allocations: 0 / 3.457 GB, free: 46.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/5.557, allocations: 0 / 3.457 GB, free: 46.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/5.557, allocations: 47.88 kB / 3.457 GB, free: 46.33 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.006164/5.563, allocations: 4.561 MB / 3.461 GB, free: 41.58 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/5.564, allocations: 1.492 MB / 3.463 GB, free: 40.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/5.565, allocations: 0.5346 MB / 3.463 GB, free: 39.48 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/5.566, allocations: 0.8078 MB / 3.464 GB, free: 38.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008836/5.567, allocations: 0.7177 MB / 3.465 GB, free: 37.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.926e-06/5.567, allocations: 0 / 3.465 GB, free: 37.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.002721/5.569, allocations: 1.288 MB / 3.466 GB, free: 36.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/5.569, allocations: 244.6 kB / 3.466 GB, free: 36.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/5.57, allocations: 0.6135 MB / 3.467 GB, free: 35.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/5.57, allocations: 29.7 kB / 3.467 GB, free: 35.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/5.571, allocations: 0.6364 MB / 3.467 GB, free: 34.85 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/5.571, allocations: 441.4 kB / 3.468 GB, free: 34.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/5.571, allocations: 0 / 3.468 GB, free: 34.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/5.571, allocations: 349.9 kB / 3.468 GB, free: 34.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/5.571, allocations: 382.5 kB / 3.468 GB, free: 33.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/5.572, allocations: 0.5199 MB / 3.469 GB, free: 33.13 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/5.573, allocations: 466.2 kB / 3.469 GB, free: 32.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/5.573, allocations: 0 / 3.469 GB, free: 32.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002124/5.575, allocations: 1.249 MB / 3.471 GB, free: 31.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/5.575, allocations: 4 kB / 3.471 GB, free: 31.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/5.575, allocations: 0 / 3.471 GB, free: 31.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/5.576, allocations: 184.2 kB / 3.471 GB, free: 31.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/5.577, allocations: 299.6 kB / 3.471 GB, free: 30.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/5.58, allocations: 6.492 MB / 3.477 GB, free: 23.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/5.581, allocations: 115.1 kB / 3.478 GB, free: 23.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/5.582, allocations: 47.95 kB / 3.478 GB, free: 23.68 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.0002521/5.582, allocations: 132.6 kB / 3.478 GB, free: 23.54 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/5.582, allocations: 122.6 kB / 3.478 GB, free: 23.42 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/5.585, allocations: 1.559 MB / 3.479 GB, free: 21.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/5.585, allocations: 12 kB / 3.479 GB, free: 21.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/5.585, allocations: 4 kB / 3.479 GB, free: 21.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/5.585, allocations: 7.969 kB / 3.479 GB, free: 21.81 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/5.589, allocations: 2.946 MB / 3.482 GB, free: 18.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.589, allocations: 0 / 3.482 GB, free: 18.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/5.591, allocations: 311.5 kB / 3.483 GB, free: 18.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006659/5.591, allocations: 188.1 kB / 3.483 GB, free: 18.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/5.591, allocations: 19.97 kB / 3.483 GB, free: 18.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/5.595, allocations: 6.538 MB / 3.489 GB, free: 11.17 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/5.595, allocations: 0 / 3.489 GB, free: 11.17 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/5.597, allocations: 1.43 MB / 3.491 GB, free: 9.707 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/5.598, allocations: 395.1 kB / 3.491 GB, free: 9.301 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/5.598, allocations: 0 / 3.491 GB, free: 9.301 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/5.599, allocations: 103.7 kB / 3.491 GB, free: 9.199 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/5.599, allocations: 97.17 kB / 3.491 GB, free: 9.102 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/5.599, allocations: 63.95 kB / 3.491 GB, free: 9.039 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005015/5.6, allocations: 495.1 kB / 3.492 GB, free: 8.559 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.6, allocations: 0 / 3.492 GB, free: 8.559 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001815/5.602, allocations: 0.627 MB / 3.492 GB, free: 7.93 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.002573/5.604, allocations: 1.723 MB / 3.494 GB, free: 6.297 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001975/5.606, allocations: 1.565 MB / 3.495 GB, free: 4.684 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/5.606, allocations: 4.688 kB / 3.495 GB, free: 4.68 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/5.607, allocations: 1.146 MB / 3.497 GB, free: 3.484 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/5.609, allocations: 395.6 kB / 3.497 GB, free: 3.105 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/5.614, allocations: 2.097 MB / 3.499 GB, free: 0.9727 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5293/6.143, allocations: 1.299 MB / 3.5 GB, free: 311.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002144/6.145, allocations: 401.7 kB / 3.501 GB, free: 311.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/6.145, allocations: 141.2 kB / 3.501 GB, free: 311.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.412e-06/6.145, allocations: 0 / 3.501 GB, free: 311.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05861/6.204, allocations: 29.56 MB / 3.53 GB, free: 310.5 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