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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001064/0.001064, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001325/0.001325, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 10 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2614, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002106/0.2636, allocations: 1.674 MB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.2676, allocations: 3.441 MB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2678, allocations: 7.938 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.268, allocations: 39.75 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.2683, allocations: 103.3 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2686, allocations: 95.81 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2689, allocations: 219.1 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2691, allocations: 44.5 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.2693, allocations: 99.61 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2694, allocations: 103.5 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.2695, allocations: 8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.2697, allocations: 99.84 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.2697, allocations: 39.83 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.2698, allocations: 57.58 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.27, allocations: 179.6 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.27, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.27, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.27, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 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.001038/0.2711, allocations: 0.5802 MB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2711, allocations: 8.031 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.2712, allocations: 31.7 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2716, allocations: 254.5 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2716, allocations: 8 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2716, allocations: 8 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.2721, allocations: 199 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2721, allocations: 0 / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2722, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2722, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.2729, allocations: 231.8 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009182/0.2738, allocations: 0.4925 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2742, allocations: 146.4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.2746, allocations: 132.8 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/0.2754, allocations: 0.5728 MB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2754, allocations: 34.56 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2755, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001165/0.2766, allocations: 425.4 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2767, allocations: 55.36 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2769, allocations: 234.7 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2769, allocations: 25.7 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.277, allocations: 144 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.277, allocations: 31.55 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.2771, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2772, allocations: 334.8 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2775, allocations: 119.9 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.2779, allocations: 115.9 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.2782, allocations: 115.9 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2782, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007422/0.279, allocations: 301.2 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.279, allocations: 8 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.279, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.279, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.2793, allocations: 59.88 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2793, allocations: 7.953 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.2796, allocations: 39.88 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2796, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2797, allocations: 125.8 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.2797, allocations: 19.81 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.2806, allocations: 335.8 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2806, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2806, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2806, allocations: 3.953 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2809, allocations: 273.4 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2809, allocations: 8 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2812, allocations: 55.94 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2812, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.2813, allocations: 11.98 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2813, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2813, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.2821, allocations: 407 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.2822, allocations: 112.8 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2822, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2825, allocations: 31.97 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.2825, allocations: 23.91 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.2826, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001366/0.2827, allocations: 170 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2827, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003224/0.283, allocations: 59.94 kB / 1.07 GB, free: 8.441 MB / 0.8262 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 (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.0002017/0.2833, allocations: 123.2 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007659/0.284, allocations: 263.7 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.284, allocations: 0 / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.2844, allocations: 139.9 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2848, allocations: 37.56 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.2856, allocations: 489 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2859, allocations: 0.7316 MB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.2861, allocations: 36.84 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.2862, allocations: 23.42 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2862, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of Templates: time 0.005478/0.2917, allocations: 2.315 MB / 1.074 GB, free: 4.266 MB / 0.8262 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/jenkins/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