Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001414/0.001414, allocations: 101.5 kB / 16.41 MB, free: 6.461 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.001494/0.001494, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9462, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003395/0.9497, allocations: 2.014 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.9541, allocations: 3.691 MB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.9543, allocations: 1.844 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.9547, allocations: 58.3 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.955, allocations: 101.8 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.9555, allocations: 135.7 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.9559, allocations: 248.8 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.9561, allocations: 55.83 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.9564, allocations: 109.4 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.9566, allocations: 118.2 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.9566, allocations: 15.28 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.9569, allocations: 119.4 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.957, allocations: 42.33 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.9571, allocations: 106.7 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.9576, allocations: 279.1 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9576, allocations: 0 / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9576, allocations: 0.875 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.9576, allocations: 0 / 1.096 GB, free: 0.7812 MB / 0.8575 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.001115/0.9587, allocations: 0.5789 MB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9588, allocations: 9.094 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.9589, allocations: 24.12 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.9593, allocations: 281.4 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.9593, allocations: 7.75 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.9593, allocations: 9.828 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.9599, allocations: 173 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.9599, allocations: 0.7969 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.9599, allocations: 5.344 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9599, allocations: 1.969 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.9607, allocations: 190.2 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009959/0.9617, allocations: 492.3 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.9622, allocations: 121.4 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.9626, allocations: 108.3 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/0.9635, allocations: 0.5499 MB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.9636, allocations: 36.19 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.9636, allocations: 4.594 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.00134/0.9649, allocations: 355.8 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.965, allocations: 52.83 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.9653, allocations: 236.5 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.9653, allocations: 27.5 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.9654, allocations: 135.9 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.9655, allocations: 40.17 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.9656, allocations: 31.53 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9657, allocations: 331 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.9661, allocations: 94.47 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.9664, allocations: 96.52 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.9671, allocations: 205.5 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9671, allocations: 0 / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008435/0.968, allocations: 259.5 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.968, allocations: 6.234 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.968, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.968, allocations: 1.344 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.9684, allocations: 42.88 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9684, allocations: 9.641 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.9687, allocations: 36.14 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.9687, allocations: 9.094 kB / 1.1 GB, free: 13.82 MB / 0.8731 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.0001294/0.9688, allocations: 127.5 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.9689, allocations: 18.28 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.9698, allocations: 286.5 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.9698, allocations: 1.094 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9699, allocations: 7.938 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9699, allocations: 2.344 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.9703, allocations: 274.2 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.9703, allocations: 1.688 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.9706, allocations: 50.55 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.9706, allocations: 1.75 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.9706, allocations: 6.797 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9706, allocations: 0.875 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9706, allocations: 5.734 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.9715, allocations: 352.1 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.9717, allocations: 113.4 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.9717, allocations: 5.875 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.972, allocations: 27.75 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.9721, allocations: 18.25 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.9721, allocations: 5.344 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001933/0.9723, allocations: 172.6 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9723, allocations: 0 / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003935/0.9727, allocations: 58.44 kB / 1.101 GB, free: 12.89 MB / 0.8731 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.0002633/0.973, allocations: 131 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008426/0.9738, allocations: 217.7 kB / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9738, allocations: 0 / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.9743, allocations: 118.2 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.9748, allocations: 29.25 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.9757, allocations: 446.4 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.9761, allocations: 0.7309 MB / 1.103 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.9762, allocations: 27.02 kB / 1.103 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9762, allocations: 4 kB / 1.103 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.00688/0.9831, allocations: 2.994 MB / 1.106 GB, free: 11.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches