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.613/2.613, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001585/0.001584, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.878/1.878, allocations: 221.3 MB / 0.7915 GB, free: 5.484 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.001122/0.001122, allocations: 91.95 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.011e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/6.13, allocations: 1.938 GB / 3.157 GB, free: 320.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/6.13, allocations: 84.23 kB / 3.157 GB, free: 320.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6104/6.741, allocations: 318.1 MB / 3.468 GB, free: 8.68 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/6.741, allocations: 0 / 3.468 GB, free: 8.68 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001172/6.741, allocations: 47.92 kB / 3.468 GB, free: 8.633 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.003224/6.744, allocations: 1.757 MB / 3.469 GB, free: 6.816 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/6.744, allocations: 15.95 kB / 3.469 GB, free: 6.801 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/6.747, allocations: 497.2 kB / 3.47 GB, free: 6.312 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/6.749, allocations: 0.97 MB / 3.471 GB, free: 5.301 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/6.749, allocations: 123.3 kB / 3.471 GB, free: 5.18 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/6.749, allocations: 163.9 kB / 3.471 GB, free: 5.02 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/6.752, allocations: 1.69 MB / 3.473 GB, free: 3.277 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/6.752, allocations: 0 / 3.473 GB, free: 3.277 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/6.752, allocations: 72 kB / 3.473 GB, free: 3.207 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/6.752, allocations: 40 kB / 3.473 GB, free: 3.168 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/6.754, allocations: 1.707 MB / 3.475 GB, free: 1.457 MB / 1.167 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.8012/7.556, allocations: 4.862 MB / 3.479 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/7.558, allocations: 1.562 MB / 3.481 GB, free: 315.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/7.559, allocations: 0.5766 MB / 3.481 GB, free: 315.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/7.56, allocations: 0.7997 MB / 3.482 GB, free: 314.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/7.561, allocations: 0.7686 MB / 3.483 GB, free: 314.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 4.177e-06/7.561, allocations: 3.625 kB / 3.483 GB, free: 314.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.003584/7.565, allocations: 1.349 MB / 3.484 GB, free: 314.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/7.565, allocations: 247.7 kB / 3.485 GB, free: 313.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/7.566, allocations: 0.7445 MB / 3.485 GB, free: 313.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/7.566, allocations: 55.73 kB / 3.485 GB, free: 313.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/7.567, allocations: 0.6267 MB / 3.486 GB, free: 313.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/7.567, allocations: 461.3 kB / 3.486 GB, free: 313.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/7.568, allocations: 21 kB / 3.486 GB, free: 313.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001167/7.568, allocations: 359.5 kB / 3.487 GB, free: 313 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/7.568, allocations: 394.1 kB / 3.487 GB, free: 313 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/7.569, allocations: 0.5571 MB / 3.488 GB, free: 312.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/7.57, allocations: 477.8 kB / 3.488 GB, free: 312.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/7.57, allocations: 0 / 3.488 GB, free: 312.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003129/7.573, allocations: 1.329 MB / 3.489 GB, free: 312.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/7.573, allocations: 4.969 kB / 3.489 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/7.573, allocations: 4.688 kB / 3.489 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/7.574, allocations: 196.1 kB / 3.49 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/7.576, allocations: 297.2 kB / 3.49 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/7.58, allocations: 6.757 MB / 3.496 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/7.582, allocations: 145.4 kB / 3.497 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/7.582, allocations: 49.58 kB / 3.497 GB, free: 306.3 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 () * 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.0003942/7.583, allocations: 180.1 kB / 3.497 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/7.583, allocations: 124.9 kB / 3.497 GB, free: 306.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/7.587, allocations: 1.66 MB / 3.499 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/7.587, allocations: 14.47 kB / 3.499 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/7.587, allocations: 5.094 kB / 3.499 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/7.587, allocations: 7.5 kB / 3.499 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/7.594, allocations: 3.25 MB / 3.502 GB, free: 305.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.594, allocations: 0 / 3.502 GB, free: 305.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/7.596, allocations: 315.3 kB / 3.502 GB, free: 305.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000868/7.597, allocations: 191.6 kB / 3.502 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/7.597, allocations: 43.14 kB / 3.502 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/7.602, allocations: 6.783 MB / 3.509 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.602, allocations: 4.766 kB / 3.509 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/7.605, allocations: 1.515 MB / 3.51 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/7.606, allocations: 414.9 kB / 3.511 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/7.606, allocations: 26.31 kB / 3.511 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/7.608, allocations: 119.8 kB / 3.511 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/7.608, allocations: 103.3 kB / 3.511 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/7.608, allocations: 67.97 kB / 3.511 GB, free: 298.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001135/7.61, allocations: 0.5894 MB / 3.512 GB, free: 298.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/7.61, allocations: 0 / 3.512 GB, free: 298.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002851/7.612, allocations: 0.6949 MB / 3.512 GB, free: 298.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) * 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.003732/7.616, allocations: 1.61 MB / 3.514 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003037/7.619, allocations: 1.657 MB / 3.516 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/7.619, allocations: 2.875 kB / 3.516 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/7.621, allocations: 1.203 MB / 3.517 GB, free: 297.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/7.623, allocations: 448.9 kB / 3.517 GB, free: 297.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/7.63, allocations: 2.171 MB / 3.519 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/7.631, allocations: 1.306 MB / 3.521 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002365/7.633, allocations: 415.2 kB / 3.521 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/7.634, allocations: 141.6 kB / 3.521 GB, free: 295.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.555e-06/7.634, allocations: 3.125 kB / 3.521 GB, free: 295.9 MB / 1.167 GB Notification: Performance of Templates: time 0.07901/7.713, allocations: 40.98 MB / 3.561 GB, free: 294.5 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