Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001211/0.001211, allocations: 191 kB / 498.1 MB, free: 5.75 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.815/1.815, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.000943/0.000943, allocations: 92.33 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 11.06 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.551, allocations: 375.6 MB / 1.59 GB, free: 19.75 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.552, allocations: 91.97 kB / 1.59 GB, free: 19.7 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02746/1.579, allocations: 11.88 MB / 1.601 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.074e-06/1.579, allocations: 4 kB / 1.601 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.579, allocations: 4 kB / 1.601 GB, free: 9.84 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001133/1.581, allocations: 0.6452 MB / 1.602 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.581, allocations: 8.031 kB / 1.602 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000707/1.581, allocations: 135.5 kB / 1.602 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/1.582, allocations: 341.5 kB / 1.602 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.582, allocations: 8.125 kB / 1.603 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/1.582, allocations: 11.94 kB / 1.603 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/1.583, allocations: 252.5 kB / 1.603 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.583, allocations: 0 / 1.603 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.583, allocations: 11.45 kB / 1.603 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.583, allocations: 3.984 kB / 1.603 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/1.584, allocations: 341.5 kB / 1.603 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.585, allocations: 0.5966 MB / 1.604 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/1.586, allocations: 198.4 kB / 1.604 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/1.586, allocations: 0.5059 MB / 1.604 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/1.586, allocations: 38.5 kB / 1.604 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.805e-06/1.586, allocations: 0 / 1.604 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.00153/1.588, allocations: 0.5673 MB / 1.605 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/1.588, allocations: 55.41 kB / 1.605 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/1.588, allocations: 228.1 kB / 1.605 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.588, allocations: 29.45 kB / 1.605 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/1.588, allocations: 147.7 kB / 1.605 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/1.588, allocations: 57.91 kB / 1.605 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/1.588, allocations: 3.375 kB / 1.605 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.588, allocations: 341.5 kB / 1.606 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/1.589, allocations: 175.4 kB / 1.606 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/1.589, allocations: 181.5 kB / 1.606 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/1.59, allocations: 167.2 kB / 1.606 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.59, allocations: 0 / 1.606 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001005/1.591, allocations: 436.6 kB / 1.607 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.591, allocations: 4 kB / 1.607 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.591, allocations: 4 kB / 1.607 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.591, allocations: 4 kB / 1.607 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/1.591, allocations: 75.92 kB / 1.607 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.591, allocations: 4 kB / 1.607 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/1.592, allocations: 59.09 kB / 1.607 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/1.592, allocations: 8 kB / 1.607 GB, free: 4.555 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.000127/1.592, allocations: 137 kB / 1.607 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/1.592, allocations: 23.72 kB / 1.607 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.593, allocations: 442.2 kB / 1.607 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.593, allocations: 0 / 1.607 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.593, allocations: 0 / 1.607 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.593, allocations: 0 / 1.607 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/1.593, allocations: 309.8 kB / 1.608 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.593, allocations: 3.938 kB / 1.608 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/1.594, allocations: 75.86 kB / 1.608 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.594, allocations: 4 kB / 1.608 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/1.594, allocations: 7.984 kB / 1.608 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.594, allocations: 0 / 1.608 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.594, allocations: 3.938 kB / 1.608 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/1.595, allocations: 0.491 MB / 1.608 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.595, allocations: 124.4 kB / 1.608 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/1.595, allocations: 0 / 1.608 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.595, allocations: 55.83 kB / 1.608 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/1.595, allocations: 19.28 kB / 1.608 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/1.595, allocations: 11.92 kB / 1.608 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001413/1.595, allocations: 184 kB / 1.609 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.595, allocations: 4 kB / 1.609 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003989/1.596, allocations: 83.25 kB / 1.609 GB, free: 2.766 MB / 0.9167 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 () * Number of clocked 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.0003166/1.596, allocations: 182.8 kB / 1.609 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.597, allocations: 378.5 kB / 1.609 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.597, allocations: 0 / 1.609 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/1.598, allocations: 195.8 kB / 1.609 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/1.598, allocations: 41.03 kB / 1.61 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/1.599, allocations: 0.5797 MB / 1.61 GB, free: 1.527 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/1.599, allocations: 0.751 MB / 1.611 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002488/1.599, allocations: 53.36 kB / 1.611 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/1.6, allocations: 19.42 kB / 1.611 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of SimCode: time 2.21e-07/1.6, allocations: 4 kB / 1.611 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of Templates: time 0.007155/1.607, allocations: 3.481 MB / 1.614 GB, free: 13.23 MB / 0.9323 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches