Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 390.5 MB / 398 MB, free: 10.94 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.001235/0.001235, allocations: 178.6 kB / 491.2 MB, free: 1.566 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.545/1.545, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009275/0.0009276, allocations: 79.97 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.1e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.401, allocations: 375.4 MB / 1.579 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.401, allocations: 89.31 kB / 1.579 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03052/1.431, allocations: 11.75 MB / 1.591 GB, free: 13 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.683e-06/1.432, allocations: 4 kB / 1.591 GB, free: 13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.756e-05/1.432, allocations: 4 kB / 1.591 GB, free: 13 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.001124/1.433, allocations: 0.6066 MB / 1.591 GB, free: 12.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.433, allocations: 8.031 kB / 1.591 GB, free: 12.35 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/1.434, allocations: 135.4 kB / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/1.434, allocations: 330 kB / 1.592 GB, free: 11.87 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.434, allocations: 3.938 kB / 1.592 GB, free: 11.87 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/1.435, allocations: 8 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002781/1.435, allocations: 133.7 kB / 1.592 GB, free: 11.78 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/1.435, allocations: 144.9 kB / 1.592 GB, free: 11.67 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.435, allocations: 3.953 kB / 1.592 GB, free: 11.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/1.435, allocations: 4 kB / 1.592 GB, free: 11.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.435, allocations: 4 kB / 1.592 GB, free: 11.66 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/1.436, allocations: 0.5588 MB / 1.592 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/1.437, allocations: 95.69 kB / 1.592 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.437, allocations: 82.03 kB / 1.593 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/1.437, allocations: 0.5171 MB / 1.593 GB, free: 10.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.437, allocations: 41.94 kB / 1.593 GB, free: 10.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/1.437, allocations: 0 / 1.593 GB, free: 10.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.04996/1.487, allocations: 3.781 MB / 1.597 GB, free: 6.699 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.487, allocations: 59.41 kB / 1.597 GB, free: 6.629 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/1.488, allocations: 216.1 kB / 1.597 GB, free: 6.449 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.488, allocations: 25.7 kB / 1.597 GB, free: 6.418 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/1.488, allocations: 149.1 kB / 1.597 GB, free: 6.309 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/1.488, allocations: 38.67 kB / 1.597 GB, free: 6.273 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/1.488, allocations: 7.938 kB / 1.597 GB, free: 6.266 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.488, allocations: 337 kB / 1.598 GB, free: 5.938 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/1.488, allocations: 71.98 kB / 1.598 GB, free: 5.898 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/1.488, allocations: 77.73 kB / 1.598 GB, free: 5.855 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1445/1.633, allocations: 10.77 MB / 1.608 GB, free: 11.36 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.633, allocations: 0 / 1.608 GB, free: 11.36 MB / 1.026 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.1455/1.778, allocations: 10.9 MB / 1.619 GB, free: 0.7422 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.778, allocations: 4 kB / 1.619 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.779, allocations: 3.938 kB / 1.619 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.779, allocations: 4 kB / 1.619 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/1.779, allocations: 83.91 kB / 1.619 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.779, allocations: 3.938 kB / 1.619 GB, free: 0.6445 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/1.78, allocations: 59.8 kB / 1.619 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/1.78, allocations: 11.42 kB / 1.619 GB, free: 0.5781 MB / 1.026 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 0.0001223/1.78, allocations: 108.9 kB / 1.619 GB, free: 476 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/1.78, allocations: 23.72 kB / 1.619 GB, free: 452 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04924/1.829, allocations: 3.815 MB / 1.623 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.829, allocations: 0 / 1.623 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.829, allocations: 0 / 1.623 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.829, allocations: 7.984 kB / 1.623 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/1.83, allocations: 269.9 kB / 1.623 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.83, allocations: 0 / 1.623 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/1.83, allocations: 71.92 kB / 1.623 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.83, allocations: 7.984 kB / 1.623 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.83, allocations: 4 kB / 1.623 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.83, allocations: 3.938 kB / 1.623 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.83, allocations: 0 / 1.623 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04998/1.88, allocations: 3.884 MB / 1.627 GB, free: 8.648 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/1.88, allocations: 123 kB / 1.627 GB, free: 8.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/1.88, allocations: 0 / 1.627 GB, free: 8.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.881, allocations: 51.95 kB / 1.627 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/1.881, allocations: 19.34 kB / 1.627 GB, free: 8.453 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/1.881, allocations: 7.984 kB / 1.627 GB, free: 8.445 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001988/1.881, allocations: 171.9 kB / 1.627 GB, free: 8.309 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.31e-07/1.881, allocations: 0 / 1.627 GB, free: 8.309 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005046/1.882, allocations: 75.3 kB / 1.627 GB, free: 8.238 MB / 1.042 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.000455/1.882, allocations: 186.1 kB / 1.628 GB, free: 8.055 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004253/1.883, allocations: 173.5 kB / 1.628 GB, free: 7.949 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.883, allocations: 0 / 1.628 GB, free: 7.949 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/1.883, allocations: 91.66 kB / 1.628 GB, free: 7.895 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/1.883, allocations: 38.94 kB / 1.628 GB, free: 7.867 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/1.884, allocations: 291.7 kB / 1.628 GB, free: 7.594 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.885, allocations: 0.7513 MB / 1.629 GB, free: 6.816 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002991/1.885, allocations: 45.12 kB / 1.629 GB, free: 6.773 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/1.885, allocations: 27.41 kB / 1.629 GB, free: 6.746 MB / 1.042 GB Notification: Performance of SimCode: time 4.21e-07/1.885, allocations: 0 / 1.629 GB, free: 6.746 MB / 1.042 GB Notification: Performance of Templates: time 0.007198/1.892, allocations: 2.994 MB / 1.632 GB, free: 3.785 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches