Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 180.8 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009895/0.0009894, allocations: 91.55 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.558e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.467/5.703, allocations: 2.21 GB / 3.095 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/5.703, allocations: 91.52 kB / 3.095 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.133/6.836, allocations: 304.1 MB / 3.392 GB, free: 223 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/6.836, allocations: 7.375 kB / 3.392 GB, free: 223 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001147/6.836, allocations: 47.61 kB / 3.392 GB, free: 223 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003056/6.839, allocations: 1.751 MB / 3.394 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/6.839, allocations: 9.938 kB / 3.394 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/6.842, allocations: 0.4982 MB / 3.395 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/6.844, allocations: 0.9738 MB / 3.395 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/6.844, allocations: 55.31 kB / 3.396 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/6.844, allocations: 99.28 kB / 3.396 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002315/6.847, allocations: 1.6 MB / 3.397 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/6.849, allocations: 1.465 MB / 3.399 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/6.849, allocations: 0 / 3.399 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/6.849, allocations: 6.844 kB / 3.399 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/6.849, allocations: 42.22 kB / 3.399 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/6.855, allocations: 4.764 MB / 3.403 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/6.857, allocations: 1.149 MB / 3.404 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/6.857, allocations: 0.528 MB / 3.405 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/6.858, allocations: 0.8024 MB / 3.406 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000964/6.859, allocations: 0.7324 MB / 3.406 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 2.926e-06/6.859, allocations: 0 / 3.406 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.002887/6.862, allocations: 1.271 MB / 3.408 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/6.862, allocations: 247.9 kB / 3.408 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/6.863, allocations: 0.6239 MB / 3.409 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/6.863, allocations: 33.52 kB / 3.409 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/6.863, allocations: 0.6339 MB / 3.409 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/6.864, allocations: 443 kB / 3.41 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/6.864, allocations: 0 / 3.41 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/6.864, allocations: 355.2 kB / 3.41 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/6.864, allocations: 368 kB / 3.41 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/6.865, allocations: 0.5141 MB / 3.411 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/6.866, allocations: 453.3 kB / 3.411 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/6.866, allocations: 7.875 kB / 3.411 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002288/6.868, allocations: 1.227 MB / 3.412 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/6.868, allocations: 9.562 kB / 3.412 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.868, allocations: 0 / 3.412 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/6.869, allocations: 188.8 kB / 3.413 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/6.87, allocations: 292.1 kB / 3.413 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/6.874, allocations: 6.499 MB / 3.419 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/6.875, allocations: 112.8 kB / 3.419 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/6.875, allocations: 58.75 kB / 3.419 GB, free: 202.7 MB / 0.8698 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.0003307/6.876, allocations: 127.5 kB / 3.42 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/6.876, allocations: 117.9 kB / 3.42 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/6.879, allocations: 1.548 MB / 3.421 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/6.879, allocations: 16 kB / 3.421 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/6.879, allocations: 3.984 kB / 3.421 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/6.879, allocations: 3.984 kB / 3.421 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/6.881, allocations: 1.243 MB / 3.422 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/6.881, allocations: 4 kB / 3.422 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/6.882, allocations: 299.6 kB / 3.423 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/6.883, allocations: 192 kB / 3.423 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/6.883, allocations: 19.97 kB / 3.423 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/6.887, allocations: 6.514 MB / 3.429 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/6.887, allocations: 0 / 3.429 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/6.89, allocations: 1.361 MB / 3.431 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/6.891, allocations: 415 kB / 3.431 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/6.892, allocations: 7.938 kB / 3.431 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/6.893, allocations: 91.84 kB / 3.431 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/6.893, allocations: 105.2 kB / 3.431 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/6.893, allocations: 64.39 kB / 3.431 GB, free: 190 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000775/6.894, allocations: 0.4952 MB / 3.432 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.894, allocations: 0 / 3.432 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002342/6.897, allocations: 0.6105 MB / 3.432 GB, free: 188.9 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.003151/6.9, allocations: 1.682 MB / 3.434 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002313/6.902, allocations: 1.561 MB / 3.435 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/6.902, allocations: 1.062 kB / 3.435 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/6.903, allocations: 1.134 MB / 3.437 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/6.906, allocations: 403.3 kB / 3.437 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/6.911, allocations: 2.162 MB / 3.439 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/6.913, allocations: 1.315 MB / 3.44 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002269/6.915, allocations: 414 kB / 3.441 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/6.915, allocations: 139.4 kB / 3.441 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.562e-06/6.915, allocations: 0 / 3.441 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04465/6.96, allocations: 29.11 MB / 3.469 GB, free: 151.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches