Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.976/1.976, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001046/0.001046, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.284/1.284, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0008719/0.0008719, allocations: 99.78 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.512e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8867/1.089, allocations: 373.6 MB / 1.571 GB, free: 16 kB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.089, allocations: 82.77 kB / 1.571 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/1.111, allocations: 9.514 MB / 1.58 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.123e-06/1.111, allocations: 1.641 kB / 1.58 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.111, allocations: 4 kB / 1.58 GB, free: 8.301 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006002/1.112, allocations: 461.2 kB / 1.581 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.112, allocations: 11.97 kB / 1.581 GB, free: 7.805 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/1.112, allocations: 23.77 kB / 1.581 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/1.113, allocations: 243.4 kB / 1.581 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/1.113, allocations: 0 / 1.581 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/1.113, allocations: 5.312 kB / 1.581 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/1.113, allocations: 66.22 kB / 1.581 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/1.113, allocations: 100.2 kB / 1.581 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.113, allocations: 0 / 1.581 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.113, allocations: 7.938 kB / 1.581 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/1.113, allocations: 15.38 kB / 1.581 GB, free: 7.359 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/1.114, allocations: 409.4 kB / 1.581 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.114, allocations: 128.4 kB / 1.582 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/1.114, allocations: 73.89 kB / 1.582 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/1.114, allocations: 7.984 kB / 1.582 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.114, allocations: 38 kB / 1.582 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/1.114, allocations: 0 / 1.582 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005136/1.115, allocations: 183 kB / 1.582 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.115, allocations: 55.39 kB / 1.582 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.115, allocations: 174.8 kB / 1.582 GB, free: 6.402 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/1.115, allocations: 29.7 kB / 1.582 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/1.115, allocations: 122.1 kB / 1.582 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/1.115, allocations: 42.48 kB / 1.582 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-06/1.115, allocations: 0 / 1.582 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.115, allocations: 332.3 kB / 1.583 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/1.115, allocations: 42.36 kB / 1.583 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/1.115, allocations: 47.55 kB / 1.583 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/1.115, allocations: 76.73 kB / 1.583 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.115, allocations: 4 kB / 1.583 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003836/1.116, allocations: 184.8 kB / 1.583 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.116, allocations: 4 kB / 1.583 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.116, allocations: 0 / 1.583 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.116, allocations: 4 kB / 1.583 GB, free: 5.621 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/1.116, allocations: 35.97 kB / 1.583 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.116, allocations: 3.953 kB / 1.583 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/1.116, allocations: 27.83 kB / 1.583 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/1.116, allocations: 7.234 kB / 1.583 GB, free: 5.551 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/1.116, allocations: 105 kB / 1.583 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/1.116, allocations: 19.75 kB / 1.583 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/1.116, allocations: 23.83 kB / 1.583 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.117, allocations: 4 kB / 1.583 GB, free: 5.406 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.117, allocations: 4 kB / 1.583 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.117, allocations: 3.953 kB / 1.583 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/1.117, allocations: 225.2 kB / 1.583 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.117, allocations: 4 kB / 1.583 GB, free: 5.164 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/1.117, allocations: 39.53 kB / 1.583 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/1.117, allocations: 3.984 kB / 1.583 GB, free: 5.125 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/1.117, allocations: 4 kB / 1.583 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.117, allocations: 3.938 kB / 1.583 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.117, allocations: 4 kB / 1.583 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/1.117, allocations: 290.6 kB / 1.584 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/1.118, allocations: 108.1 kB / 1.584 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/1.118, allocations: 0 / 1.584 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.118, allocations: 19.97 kB / 1.584 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/1.118, allocations: 15.48 kB / 1.584 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.118, allocations: 4 kB / 1.584 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001015/1.118, allocations: 145.7 kB / 1.584 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.118, allocations: 0 / 1.584 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002559/1.118, allocations: 28 kB / 1.584 GB, free: 4.543 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/1.118, allocations: 159.1 kB / 1.584 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000204/1.119, allocations: 113.4 kB / 1.584 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.119, allocations: 3.438 kB / 1.584 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/1.119, allocations: 60.28 kB / 1.584 GB, free: 4.262 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/1.119, allocations: 24.36 kB / 1.584 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/1.119, allocations: 228.8 kB / 1.585 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.12, allocations: 0.7347 MB / 1.585 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001652/1.12, allocations: 48.5 kB / 1.585 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/1.12, allocations: 19.42 kB / 1.585 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of SimCode: time 2.2e-07/1.12, allocations: 0 / 1.585 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of Templates: time 0.004065/1.124, allocations: 1.747 MB / 1.587 GB, free: 1.477 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches