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.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001336/0.001336, allocations: 180 kB / 0.4902 GB, free: 2.23 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.771/1.771, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.001109/0.00111, allocations: 110.1 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006049, allocations: 9.516 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4126, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.538/1.951, allocations: 376.2 MB / 1.597 GB, free: 352 kB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.951, allocations: 93.25 kB / 1.597 GB, free: 300 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.03311/1.985, allocations: 11.89 MB / 1.608 GB, free: 6.473 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.721e-06/1.985, allocations: 0 / 1.608 GB, free: 6.473 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.985, allocations: 7.938 kB / 1.608 GB, free: 6.465 MB / 0.948 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.001352/1.986, allocations: 0.65 MB / 1.609 GB, free: 5.777 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.986, allocations: 12.55 kB / 1.609 GB, free: 5.766 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007849/1.987, allocations: 131.5 kB / 1.609 GB, free: 5.637 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/1.988, allocations: 337.3 kB / 1.609 GB, free: 5.285 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.988, allocations: 8.188 kB / 1.609 GB, free: 5.277 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/1.988, allocations: 17.98 kB / 1.609 GB, free: 5.266 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/1.989, allocations: 256.7 kB / 1.61 GB, free: 5.051 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.989, allocations: 0 / 1.61 GB, free: 5.051 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.989, allocations: 3.953 kB / 1.61 GB, free: 5.047 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/1.989, allocations: 4 kB / 1.61 GB, free: 5.043 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.99, allocations: 341.2 kB / 1.61 GB, free: 4.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/1.991, allocations: 0.5935 MB / 1.611 GB, free: 4.215 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/1.992, allocations: 202.6 kB / 1.611 GB, free: 4.043 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/1.993, allocations: 0.5176 MB / 1.611 GB, free: 3.418 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.993, allocations: 30.81 kB / 1.611 GB, free: 3.379 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 3.025e-06/1.993, allocations: 0 / 1.611 GB, free: 3.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.001754/1.994, allocations: 0.5706 MB / 1.612 GB, free: 2.895 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.994, allocations: 51.41 kB / 1.612 GB, free: 2.832 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/1.995, allocations: 235.6 kB / 1.612 GB, free: 2.625 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.995, allocations: 29.52 kB / 1.612 GB, free: 2.594 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.995, allocations: 152.9 kB / 1.612 GB, free: 2.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/1.995, allocations: 39.02 kB / 1.612 GB, free: 2.445 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/1.995, allocations: 3.75 kB / 1.612 GB, free: 2.445 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.995, allocations: 342 kB / 1.613 GB, free: 2.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/1.996, allocations: 177.4 kB / 1.613 GB, free: 1.973 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/1.996, allocations: 178 kB / 1.613 GB, free: 1.828 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/1.997, allocations: 180.4 kB / 1.613 GB, free: 1.688 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.997, allocations: 0 / 1.613 GB, free: 1.688 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001143/1.998, allocations: 427.9 kB / 1.614 GB, free: 1.332 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.998, allocations: 8 kB / 1.614 GB, free: 1.324 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.998, allocations: 0 / 1.614 GB, free: 1.324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.998, allocations: 0 / 1.614 GB, free: 1.324 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/1.998, allocations: 83.42 kB / 1.614 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.998, allocations: 0 / 1.614 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.999, allocations: 59.84 kB / 1.614 GB, free: 1.188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/1.999, allocations: 11.55 kB / 1.614 GB, free: 1.18 MB / 0.948 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.0001671/1.999, allocations: 132.2 kB / 1.614 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/1.999, allocations: 23.72 kB / 1.614 GB, free: 1.027 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/2, allocations: 438.3 kB / 1.614 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/2, allocations: 0 / 1.614 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/2, allocations: 4 kB / 1.614 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/2, allocations: 3.984 kB / 1.614 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/2.001, allocations: 309 kB / 1.615 GB, free: 364 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/2.001, allocations: 0 / 1.615 GB, free: 364 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/2.001, allocations: 79.36 kB / 1.615 GB, free: 288 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/2.001, allocations: 7.938 kB / 1.615 GB, free: 280 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/2.001, allocations: 7.922 kB / 1.615 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/2.001, allocations: 0 / 1.615 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.001, allocations: 0 / 1.615 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/2.002, allocations: 0.5004 MB / 1.615 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/2.003, allocations: 119.5 kB / 1.615 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/2.003, allocations: 0 / 1.615 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/2.003, allocations: 55.64 kB / 1.615 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/2.003, allocations: 19.52 kB / 1.615 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/2.003, allocations: 15.92 kB / 1.615 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002087/2.003, allocations: 181.6 kB / 1.616 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.21e-07/2.003, allocations: 0 / 1.616 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004467/2.004, allocations: 90.64 kB / 1.616 GB, free: 15.37 MB / 0.9636 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.0003792/2.004, allocations: 174.9 kB / 1.616 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001191/2.005, allocations: 380.5 kB / 1.616 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.005, allocations: 0 / 1.616 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/2.006, allocations: 199.9 kB / 1.616 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/2.006, allocations: 31.27 kB / 1.616 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/2.007, allocations: 0.5795 MB / 1.617 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/2.008, allocations: 0.7626 MB / 1.618 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002651/2.008, allocations: 49.38 kB / 1.618 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.915e-05/2.008, allocations: 23.36 kB / 1.618 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of SimCode: time 3.41e-07/2.008, allocations: 0 / 1.618 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of Templates: time 0.007661/2.016, allocations: 3.48 MB / 1.621 GB, free: 9.848 MB / 0.9636 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