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.0008116/0.0008117, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.0009969, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.000373, allocations: 11.06 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002511/0.3386, allocations: 1.724 MB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.3433, allocations: 3.611 MB / 1.065 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3435, allocations: 0 / 1.065 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3439, allocations: 59.69 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.3443, allocations: 91.41 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.3447, allocations: 103.8 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.3451, allocations: 239.1 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3453, allocations: 48.36 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.3456, allocations: 103.5 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3458, allocations: 103.5 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.3458, allocations: 8 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.3461, allocations: 107.8 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3461, allocations: 39.81 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3463, allocations: 113.1 kB / 1.066 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3465, allocations: 183.5 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3465, allocations: 0 / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3466, allocations: 4 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3466, allocations: 0 / 1.066 GB, free: 14.4 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.001178/0.3478, allocations: 0.5804 MB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3478, allocations: 23.91 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.3479, allocations: 24.66 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.3483, allocations: 263.6 kB / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3484, allocations: 8.375 kB / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3484, allocations: 8.375 kB / 1.067 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.349, allocations: 199.1 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.349, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.349, allocations: 8 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.349, allocations: 4 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.3498, allocations: 235.8 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.3507, allocations: 0.4925 MB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3511, allocations: 142.5 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.3515, allocations: 132.8 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009205/0.3525, allocations: 0.5689 MB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3525, allocations: 38.56 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.3525, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001287/0.3538, allocations: 421.2 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3539, allocations: 55.41 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3541, allocations: 234.7 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3541, allocations: 25.7 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.3542, allocations: 140 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.3543, allocations: 51.44 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3543, allocations: 9.719 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3544, allocations: 338.8 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.3548, allocations: 111.9 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3552, allocations: 119.9 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.3559, allocations: 241.3 kB / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3559, allocations: 0 / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008288/0.3567, allocations: 305 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3568, allocations: 4 kB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3568, allocations: 4 kB / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3568, allocations: 4 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3571, allocations: 55.94 kB / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3571, allocations: 7.938 kB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3574, allocations: 39.91 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3574, allocations: 0 / 1.07 GB, free: 9.238 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.3575, allocations: 131.3 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.3576, allocations: 27.72 kB / 1.071 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.3585, allocations: 327.1 kB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3585, allocations: 0 / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3585, allocations: 3.938 kB / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3585, allocations: 0 / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3588, allocations: 269.5 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3588, allocations: 0 / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3591, allocations: 63.88 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3591, allocations: 0 / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3592, allocations: 11.98 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3592, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3592, allocations: 3.938 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.36, allocations: 399 kB / 1.072 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3601, allocations: 116.7 kB / 1.072 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.3602, allocations: 0 / 1.072 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3604, allocations: 39.97 kB / 1.072 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3605, allocations: 19.91 kB / 1.072 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3605, allocations: 0 / 1.072 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3607, allocations: 174 kB / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3607, allocations: 0 / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003301/0.361, allocations: 56 kB / 1.072 GB, free: 7.539 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 (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.0002413/0.3613, allocations: 135.2 kB / 1.072 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.3621, allocations: 259.8 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3621, allocations: 3.938 kB / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.3625, allocations: 143.8 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.363, allocations: 25.3 kB / 1.073 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.3638, allocations: 0.5299 MB / 1.073 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3641, allocations: 0.7355 MB / 1.074 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.3642, allocations: 23.42 kB / 1.074 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3642, allocations: 0 / 1.074 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.005014/0.3692, allocations: 2.952 MB / 1.077 GB, free: 2.699 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/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