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.001629/0.001629, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002054/0.002054, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 61.97 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003241/0.3225, allocations: 2.077 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004289/0.3269, allocations: 3.673 MB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.327, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.3273, allocations: 55.69 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.3276, allocations: 95.41 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3279, allocations: 103.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3282, allocations: 239.1 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3283, allocations: 56.3 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3286, allocations: 103.5 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3287, allocations: 103.5 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.3287, allocations: 12 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.329, allocations: 115.8 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.329, allocations: 43.81 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.3291, allocations: 91.34 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3295, allocations: 267.1 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3295, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3295, allocations: 3.938 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3295, allocations: 0 / 1.059 GB, free: 1.777 MB / 0.8106 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.001203/0.3307, allocations: 0.5763 MB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3307, allocations: 12.03 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.3308, allocations: 24.66 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.3313, allocations: 275.5 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3313, allocations: 8.312 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3313, allocations: 8.375 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.3318, allocations: 175 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3318, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3319, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3319, allocations: 8 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.3326, allocations: 187.8 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.3335, allocations: 496.3 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.3339, allocations: 126.5 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3343, allocations: 105 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000905/0.3352, allocations: 0.561 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3353, allocations: 38.5 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3353, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001247/0.3365, allocations: 341.2 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3366, allocations: 55.41 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3368, allocations: 238.7 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3368, allocations: 29.7 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.3369, allocations: 144 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.337, allocations: 31.47 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.337, allocations: 29.69 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3372, allocations: 338.8 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3375, allocations: 91.92 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.3379, allocations: 95.91 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.3386, allocations: 200.6 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3386, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000768/0.3393, allocations: 261.2 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3394, allocations: 8 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3394, allocations: 4 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3394, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.3398, allocations: 47.94 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3398, allocations: 3.938 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.34, allocations: 31.84 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.34, allocations: 7.984 kB / 1.063 GB, free: 12.95 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.0001282/0.3402, allocations: 127.4 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3402, allocations: 19.72 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.3411, allocations: 275.9 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3411, allocations: 8 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3411, allocations: 3.938 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3412, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.3415, allocations: 281.3 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3415, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.3418, allocations: 47.88 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3418, allocations: 7.938 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3418, allocations: 0 / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3419, allocations: 4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3419, allocations: 3.938 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.3427, allocations: 359.1 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3428, allocations: 112.8 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3428, allocations: 0 / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.3431, allocations: 31.95 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.3432, allocations: 15.86 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3432, allocations: 11.92 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001565/0.3434, allocations: 166 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3434, allocations: 4 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003328/0.3437, allocations: 63.89 kB / 1.065 GB, free: 11.35 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.0002343/0.344, allocations: 131.2 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.3447, allocations: 211.8 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3447, allocations: 0 / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.3451, allocations: 119.8 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3456, allocations: 30.05 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.3464, allocations: 480 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3467, allocations: 0.7317 MB / 1.066 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.3469, allocations: 40.83 kB / 1.066 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.347, allocations: 23.42 kB / 1.066 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.347, allocations: 0 / 1.066 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.005479/0.3525, allocations: 2.393 MB / 1.069 GB, free: 7.176 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