Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001323/0.001323, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7733, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003537/0.7768, allocations: 2.017 MB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004445/0.7813, allocations: 3.696 MB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.7815, allocations: 0 / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.7818, allocations: 67.28 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.7821, allocations: 103.3 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.7825, allocations: 119.6 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.7828, allocations: 259.1 kB / 1.215 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.7829, allocations: 52.39 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.7832, allocations: 107.5 kB / 1.215 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.7833, allocations: 123.5 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.7834, allocations: 16 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.7836, allocations: 111.8 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.7837, allocations: 47.77 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.7838, allocations: 91.47 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.7841, allocations: 284.9 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7841, allocations: 0 / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7841, allocations: 3.938 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.7842, allocations: 0 / 1.215 GB, free: 6.527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001119/0.7853, allocations: 0.5801 MB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.7853, allocations: 12.02 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.7854, allocations: 24.66 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.7858, allocations: 271.5 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.7858, allocations: 4.375 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.7859, allocations: 8.375 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.7864, allocations: 175 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7864, allocations: 4 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.7864, allocations: 0 / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7864, allocations: 4 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.7871, allocations: 199.8 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.7881, allocations: 492.3 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.7885, allocations: 122.4 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.7888, allocations: 109 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/0.7897, allocations: 0.5532 MB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.7898, allocations: 30.56 kB / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.7898, allocations: 0 / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001277/0.7911, allocations: 361.1 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.7911, allocations: 55.41 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.7914, allocations: 230.7 kB / 1.218 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.7914, allocations: 29.7 kB / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.7915, allocations: 147.9 kB / 1.219 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.7916, allocations: 43.38 kB / 1.219 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.7916, allocations: 29.7 kB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7918, allocations: 334.8 kB / 1.219 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.7921, allocations: 95.91 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.7925, allocations: 99.84 kB / 1.219 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.7932, allocations: 196.7 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7932, allocations: 0 / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008003/0.794, allocations: 257.2 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.794, allocations: 10.03 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.794, allocations: 0 / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7941, allocations: 0 / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.7944, allocations: 47.89 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7944, allocations: 3.938 kB / 1.22 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.7946, allocations: 31.86 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.7947, allocations: 8 kB / 1.22 GB, free: 1.699 MB / 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 (11): * Single equations (assignments): 11 * 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.0001379/0.7948, allocations: 125.8 kB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.7949, allocations: 19.72 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.7958, allocations: 275.1 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7958, allocations: 7.984 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7958, allocations: 7.938 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7958, allocations: 4 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.7961, allocations: 277.4 kB / 1.22 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7961, allocations: 0 / 1.22 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.7964, allocations: 43.94 kB / 1.22 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7964, allocations: 4 kB / 1.22 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.7965, allocations: 7.984 kB / 1.22 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7965, allocations: 0 / 1.22 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7965, allocations: 3.938 kB / 1.22 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.7973, allocations: 359.9 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7974, allocations: 112.8 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.7975, allocations: 0 / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.7977, allocations: 27.97 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.7978, allocations: 23.84 kB / 1.221 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7978, allocations: 4 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001556/0.798, allocations: 166 kB / 1.221 GB, free: 168 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.798, allocations: 0 / 1.221 GB, free: 168 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003373/0.7983, allocations: 63.92 kB / 1.221 GB, free: 104 kB / 0.9356 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 (11): * Single equations (assignments): 11 * 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.0002863/0.7986, allocations: 127.2 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000803/0.7995, allocations: 223.8 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7995, allocations: 4 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.7998, allocations: 107.9 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.8003, allocations: 35.86 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.8013, allocations: 452.1 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.8016, allocations: 0.7467 MB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.8017, allocations: 23.42 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/0.8017, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.004988/0.8067, allocations: 2.991 MB / 1.226 GB, free: 11.37 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches