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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009252/0.009252, allocations: 103.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7787, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003948/0.7827, allocations: 2.134 MB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005389/0.7881, allocations: 3.797 MB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.7884, allocations: 4 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.7887, allocations: 59.34 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.7892, allocations: 123.1 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.7897, allocations: 151.6 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.7902, allocations: 314.9 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.7904, allocations: 56.7 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.7907, allocations: 135.5 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.791, allocations: 151.4 kB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.7911, allocations: 20 kB / 1.214 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.7914, allocations: 135.8 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.7915, allocations: 59.75 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.7916, allocations: 119.3 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.7922, allocations: 336.6 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7922, allocations: 3.984 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7922, allocations: 0 / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.7922, allocations: 0 / 1.215 GB, free: 5.988 MB / 0.9356 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.001334/0.7935, allocations: 0.6308 MB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7936, allocations: 12.03 kB / 1.216 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.7945, allocations: 172.3 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007708/0.7953, allocations: 324.3 kB / 1.216 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.7953, allocations: 12.56 kB / 1.216 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.7954, allocations: 11.94 kB / 1.216 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.796, allocations: 225.4 kB / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7961, allocations: 0 / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.7961, allocations: 8 kB / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7961, allocations: 0 / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/0.7971, allocations: 279.7 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.7984, allocations: 0.5745 MB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.799, allocations: 170.4 kB / 1.217 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.7995, allocations: 156.7 kB / 1.218 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008449/0.8003, allocations: 0.5493 MB / 1.218 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.8004, allocations: 38.56 kB / 1.218 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8004, allocations: 0 / 1.218 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001656/0.802, allocations: 488.8 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.8021, allocations: 55.66 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.8024, allocations: 256.6 kB / 1.219 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.8024, allocations: 29.7 kB / 1.219 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.8025, allocations: 159.9 kB / 1.219 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.8026, allocations: 35.38 kB / 1.219 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.8027, allocations: 41.69 kB / 1.219 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8028, allocations: 346.7 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.8033, allocations: 143.9 kB / 1.22 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.8038, allocations: 157.7 kB / 1.22 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.8047, allocations: 296.5 kB / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8048, allocations: 0 / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001117/0.8059, allocations: 362.8 kB / 1.22 GB, free: 204 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8059, allocations: 12 kB / 1.22 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8059, allocations: 0 / 1.22 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8059, allocations: 0 / 1.22 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.8064, allocations: 67.91 kB / 1.221 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.8064, allocations: 3.938 kB / 1.221 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.8067, allocations: 51.73 kB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.8068, allocations: 7.984 kB / 1.221 GB, free: 60 kB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8069, allocations: 129.8 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.807, allocations: 27.62 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.8081, allocations: 383.2 kB / 1.221 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8081, allocations: 0 / 1.221 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8081, allocations: 4 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8082, allocations: 3.938 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.8085, allocations: 301.4 kB / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8085, allocations: 0 / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.8089, allocations: 55.92 kB / 1.221 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.8089, allocations: 7.984 kB / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.809, allocations: 11.98 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.809, allocations: 0 / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.809, allocations: 4 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.8101, allocations: 456.3 kB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.8103, allocations: 116.8 kB / 1.222 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.8103, allocations: 8 kB / 1.222 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.8106, allocations: 35.94 kB / 1.222 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.8107, allocations: 15.98 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.8107, allocations: 11.92 kB / 1.222 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000161/0.8109, allocations: 187.1 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.853e-06/0.8109, allocations: 0 / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003547/0.8113, allocations: 63.94 kB / 1.222 GB, free: 14.17 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/0.8116, allocations: 147.1 kB / 1.222 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8126, allocations: 315.7 kB / 1.223 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8126, allocations: 4 kB / 1.223 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.8131, allocations: 163.8 kB / 1.223 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.8136, allocations: 33.97 kB / 1.223 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.8147, allocations: 0.4898 MB / 1.223 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.8151, allocations: 0.7474 MB / 1.224 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.8154, allocations: 41.39 kB / 1.224 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.8155, allocations: 27.42 kB / 1.224 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8155, allocations: 0 / 1.224 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.007114/0.8226, allocations: 3.304 MB / 1.227 GB, free: 8.887 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches