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 2.499/2.499, allocations: 390.3 MB / 405.3 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.001273/0.001273, allocations: 179 kB / 498.1 MB, free: 5.688 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.653/1.653, allocations: 223.2 MB / 0.7949 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.001354/0.001354, allocations: 100.2 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 8.812 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4002, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.736, allocations: 374.3 MB / 1.588 GB, free: 20.79 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004741/1.737, allocations: 94.59 kB / 1.589 GB, free: 20.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02329/1.76, allocations: 9.639 MB / 1.598 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.046e-06/1.76, allocations: 0 / 1.598 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.76, allocations: 4 kB / 1.598 GB, free: 12.82 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007296/1.761, allocations: 497.4 kB / 1.598 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.761, allocations: 15.97 kB / 1.598 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/1.761, allocations: 23.67 kB / 1.598 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/1.761, allocations: 232.8 kB / 1.599 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.761, allocations: 7.438 kB / 1.599 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/1.761, allocations: 4 kB / 1.599 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/1.762, allocations: 138.9 kB / 1.599 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.762, allocations: 4 kB / 1.599 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.762, allocations: 7.938 kB / 1.599 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/1.762, allocations: 15.94 kB / 1.599 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/1.762, allocations: 149.3 kB / 1.599 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/1.763, allocations: 449.5 kB / 1.599 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/1.763, allocations: 170.1 kB / 1.6 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/1.763, allocations: 8 kB / 1.6 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.763, allocations: 34.52 kB / 1.6 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.763, allocations: 0 / 1.6 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0008382/1.764, allocations: 303.5 kB / 1.6 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.764, allocations: 55.41 kB / 1.6 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/1.765, allocations: 188.6 kB / 1.6 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/1.765, allocations: 29.2 kB / 1.6 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/1.765, allocations: 121.4 kB / 1.6 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/1.765, allocations: 50.34 kB / 1.6 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/1.765, allocations: 0 / 1.6 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.765, allocations: 333.8 kB / 1.601 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/1.765, allocations: 78.5 kB / 1.601 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/1.765, allocations: 81.5 kB / 1.601 GB, free: 10 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.766, allocations: 86.12 kB / 1.601 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.766, allocations: 0 / 1.601 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004618/1.766, allocations: 222.8 kB / 1.601 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.766, allocations: 4 kB / 1.601 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.766, allocations: 7.953 kB / 1.601 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.766, allocations: 0 / 1.601 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.766, allocations: 43.91 kB / 1.601 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/1.766, allocations: 0 / 1.601 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/1.766, allocations: 23.52 kB / 1.601 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/1.767, allocations: 7.984 kB / 1.601 GB, free: 9.664 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 (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 0.0001053/1.767, allocations: 132.6 kB / 1.601 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/1.767, allocations: 19.8 kB / 1.601 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/1.767, allocations: 24.89 kB / 1.601 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.767, allocations: 7.953 kB / 1.601 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.767, allocations: 0 / 1.601 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.767, allocations: 0 / 1.601 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/1.767, allocations: 258.1 kB / 1.602 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.767, allocations: 4 kB / 1.602 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/1.767, allocations: 39.91 kB / 1.602 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/1.767, allocations: 4 kB / 1.602 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/1.767, allocations: 7.984 kB / 1.602 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.767, allocations: 0 / 1.602 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.767, allocations: 3.953 kB / 1.602 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/1.768, allocations: 325.9 kB / 1.602 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/1.768, allocations: 111.6 kB / 1.602 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/1.768, allocations: 4 kB / 1.602 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.768, allocations: 18.98 kB / 1.602 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.768, allocations: 11.94 kB / 1.602 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.768, allocations: 7.875 kB / 1.602 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001087/1.768, allocations: 154.8 kB / 1.602 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.768, allocations: 0 / 1.602 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002963/1.769, allocations: 39.44 kB / 1.602 GB, free: 8.543 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.0002742/1.769, allocations: 154.7 kB / 1.602 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004644/1.769, allocations: 172.6 kB / 1.603 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.769, allocations: 4 kB / 1.603 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.77, allocations: 105.5 kB / 1.603 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/1.77, allocations: 25.28 kB / 1.603 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/1.771, allocations: 487.7 kB / 1.603 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/1.771, allocations: 0.7277 MB / 1.604 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.771, allocations: 56.36 kB / 1.604 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/1.771, allocations: 19.36 kB / 1.604 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of SimCode: time 1.533e-06/1.771, allocations: 0 / 1.604 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of Templates: time 0.005097/1.776, allocations: 2.18 MB / 1.606 GB, free: 4.688 MB / 0.9167 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