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.525/2.525, allocations: 387.1 MB / 399.7 MB, free: 9.551 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.001237/0.001237, allocations: 165 kB / 492.3 MB, free: 0.6055 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.608/1.608, allocations: 221.3 MB / 0.7872 GB, free: 12.84 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.000964/0.000964, allocations: 89.33 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.97e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.287, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.407, allocations: 375.6 MB / 1.579 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.408, allocations: 86.19 kB / 1.579 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02926/1.437, allocations: 11.83 MB / 1.591 GB, free: 12.14 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.452e-06/1.437, allocations: 0 / 1.591 GB, free: 12.14 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.377e-05/1.437, allocations: 4 kB / 1.591 GB, free: 12.14 MB / 1.01 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.001074/1.438, allocations: 0.6029 MB / 1.591 GB, free: 11.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.438, allocations: 8.031 kB / 1.591 GB, free: 11.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/1.439, allocations: 140.8 kB / 1.592 GB, free: 11.36 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/1.44, allocations: 339.7 kB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.44, allocations: 7.938 kB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/1.44, allocations: 7.938 kB / 1.592 GB, free: 10.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.44, allocations: 150.4 kB / 1.592 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.44, allocations: 4 kB / 1.592 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/1.44, allocations: 3.688 kB / 1.592 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.44, allocations: 3.953 kB / 1.592 GB, free: 10.87 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/1.441, allocations: 145.8 kB / 1.592 GB, free: 10.78 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/1.442, allocations: 0.5949 MB / 1.593 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/1.442, allocations: 100.6 kB / 1.593 GB, free: 10.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/1.442, allocations: 87.41 kB / 1.593 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/1.443, allocations: 0.5178 MB / 1.593 GB, free: 9.477 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.443, allocations: 38.56 kB / 1.593 GB, free: 9.43 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/1.443, allocations: 0 / 1.593 GB, free: 9.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0004478/1.443, allocations: 203.6 kB / 1.594 GB, free: 9.281 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.443, allocations: 55.34 kB / 1.594 GB, free: 9.215 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.444, allocations: 230.7 kB / 1.594 GB, free: 9.016 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.444, allocations: 28.83 kB / 1.594 GB, free: 8.984 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.444, allocations: 149.3 kB / 1.594 GB, free: 8.875 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/1.444, allocations: 41.3 kB / 1.594 GB, free: 8.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/1.444, allocations: 3.438 kB / 1.594 GB, free: 8.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.444, allocations: 344.7 kB / 1.594 GB, free: 8.504 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/1.444, allocations: 77.98 kB / 1.595 GB, free: 8.461 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.444, allocations: 75.45 kB / 1.595 GB, free: 8.418 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/1.444, allocations: 73.16 kB / 1.595 GB, free: 8.375 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.444, allocations: 0 / 1.595 GB, free: 8.375 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003824/1.445, allocations: 225.5 kB / 1.595 GB, free: 8.211 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.445, allocations: 8 kB / 1.595 GB, free: 8.203 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.445, allocations: 0 / 1.595 GB, free: 8.203 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.445, allocations: 3.938 kB / 1.595 GB, free: 8.199 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/1.445, allocations: 94.97 kB / 1.595 GB, free: 8.109 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.445, allocations: 4 kB / 1.595 GB, free: 8.105 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/1.446, allocations: 59.8 kB / 1.595 GB, free: 8.047 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.446, allocations: 10.17 kB / 1.595 GB, free: 8.039 MB / 1.01 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 (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 9.076e-05/1.446, allocations: 111.9 kB / 1.595 GB, free: 7.926 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/1.446, allocations: 31.62 kB / 1.595 GB, free: 7.895 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/1.446, allocations: 238.7 kB / 1.595 GB, free: 7.727 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.446, allocations: 3.984 kB / 1.595 GB, free: 7.723 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.446, allocations: 4 kB / 1.595 GB, free: 7.719 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.446, allocations: 3.984 kB / 1.595 GB, free: 7.715 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.447, allocations: 304.1 kB / 1.596 GB, free: 7.418 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.447, allocations: 0 / 1.596 GB, free: 7.418 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/1.447, allocations: 71.92 kB / 1.596 GB, free: 7.348 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.447, allocations: 4 kB / 1.596 GB, free: 7.344 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/1.447, allocations: 7.984 kB / 1.596 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.447, allocations: 0 / 1.596 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.447, allocations: 0 / 1.596 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/1.448, allocations: 319.7 kB / 1.596 GB, free: 7.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.448, allocations: 120 kB / 1.596 GB, free: 6.941 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/1.448, allocations: 7.609 kB / 1.596 GB, free: 6.938 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.448, allocations: 51.95 kB / 1.596 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/1.448, allocations: 15.66 kB / 1.596 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.448, allocations: 4 kB / 1.596 GB, free: 6.871 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001521/1.448, allocations: 187.1 kB / 1.597 GB, free: 6.715 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/1.448, allocations: 0 / 1.597 GB, free: 6.715 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003454/1.449, allocations: 78.81 kB / 1.597 GB, free: 6.645 MB / 1.01 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.0003322/1.449, allocations: 184.4 kB / 1.597 GB, free: 6.461 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003539/1.449, allocations: 180 kB / 1.597 GB, free: 6.352 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.449, allocations: 4 kB / 1.597 GB, free: 6.348 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/1.45, allocations: 101.8 kB / 1.597 GB, free: 6.285 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.45, allocations: 40.97 kB / 1.597 GB, free: 6.254 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/1.451, allocations: 301.9 kB / 1.597 GB, free: 5.984 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/1.451, allocations: 0.7584 MB / 1.598 GB, free: 5.203 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002475/1.451, allocations: 45.16 kB / 1.598 GB, free: 5.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/1.451, allocations: 23.42 kB / 1.598 GB, free: 5.137 MB / 1.01 GB Notification: Performance of SimCode: time 3.71e-07/1.451, allocations: 0 / 1.598 GB, free: 5.137 MB / 1.01 GB Notification: Performance of Templates: time 0.007302/1.459, allocations: 3.715 MB / 1.602 GB, free: 1.457 MB / 1.01 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