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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001068/0.001068, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001341/0.001342, allocations: 177.3 kB / 15.94 MB, free: 220 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6299, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00162/0.6315, allocations: 1.623 MB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.6346, allocations: 3.247 MB / 0.9583 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.6346, allocations: 9.719 kB / 0.9583 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.6348, allocations: 44.28 kB / 0.9583 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.6351, allocations: 108.6 kB / 0.9584 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.6353, allocations: 104 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.6356, allocations: 159.3 kB / 0.9587 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.6357, allocations: 38.66 kB / 0.9587 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.6359, allocations: 96.11 kB / 0.9588 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.6361, allocations: 98.34 kB / 0.9589 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.6361, allocations: 7.875 kB / 0.9589 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.6363, allocations: 105.1 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.6363, allocations: 31.97 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.6364, allocations: 61.86 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.6366, allocations: 184.7 kB / 0.9593 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.6366, allocations: 0 / 0.9593 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6366, allocations: 0 / 0.9593 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6366, allocations: 5.812 kB / 0.9593 GB, free: 3.504 MB / 0.7169 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.001001/0.6376, allocations: 0.5739 MB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6376, allocations: 9.312 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.6377, allocations: 30.22 kB / 0.9599 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.6381, allocations: 262.3 kB / 0.9601 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6381, allocations: 10.69 kB / 0.9601 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.6381, allocations: 9.453 kB / 0.9601 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.6386, allocations: 187.3 kB / 0.9603 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.6386, allocations: 1.375 kB / 0.9603 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6386, allocations: 4 kB / 0.9603 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6387, allocations: 6.75 kB / 0.9603 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.6393, allocations: 233 kB / 0.9606 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.6401, allocations: 0.4942 MB / 0.961 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.6406, allocations: 152 kB / 0.9612 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/0.6413, allocations: 0.5666 MB / 0.9617 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.6414, allocations: 43.53 kB / 0.9618 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.6414, allocations: 1.125 kB / 0.9618 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001218/0.6426, allocations: 417.1 kB / 0.9622 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.6426, allocations: 52.75 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6428, allocations: 233.5 kB / 0.9625 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.6428, allocations: 26.86 kB / 0.9625 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.6429, allocations: 133.4 kB / 0.9626 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.643, allocations: 44.47 kB / 0.9626 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.643, allocations: 0 / 0.9626 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.643, allocations: 336.8 kB / 0.963 GB, free: 408 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.6434, allocations: 118 kB / 0.9631 GB, free: 360 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.6437, allocations: 114.6 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.6441, allocations: 118.9 kB / 0.9633 GB, free: 268 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6441, allocations: 0 / 0.9633 GB, free: 268 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007748/0.6449, allocations: 305.8 kB / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6449, allocations: 6.562 kB / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6449, allocations: 0 / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6449, allocations: 1.344 kB / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.6453, allocations: 57.88 kB / 0.9637 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6453, allocations: 1.281 kB / 0.9637 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.6455, allocations: 43.91 kB / 0.9637 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.6455, allocations: 6.609 kB / 0.9637 GB, free: 72 kB / 0.7169 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.0001211/0.6457, allocations: 126.9 kB / 0.9638 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.6457, allocations: 28.58 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008887/0.6466, allocations: 325.9 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6466, allocations: 3.062 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6466, allocations: 0 / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6466, allocations: 4 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.6469, allocations: 270.5 kB / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6469, allocations: 0 / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.6472, allocations: 56.48 kB / 0.9645 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6472, allocations: 5.359 kB / 0.9645 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.6473, allocations: 9.516 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6473, allocations: 1.719 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6473, allocations: 0 / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.6481, allocations: 394 kB / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.6482, allocations: 117.2 kB / 0.965 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.6483, allocations: 9.484 kB / 0.965 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.6486, allocations: 40.2 kB / 0.965 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.6486, allocations: 13.17 kB / 0.9651 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.6487, allocations: 7.016 kB / 0.9651 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001339/0.6488, allocations: 166.2 kB / 0.9652 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6488, allocations: 0 / 0.9652 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000328/0.6491, allocations: 60.31 kB / 0.9653 GB, free: 14.91 MB / 0.7325 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.0001963/0.6493, allocations: 136.6 kB / 0.9654 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.6501, allocations: 260.2 kB / 0.9657 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6502, allocations: 4.781 kB / 0.9657 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.6506, allocations: 138.1 kB / 0.9658 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.6509, allocations: 24.61 kB / 0.9658 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.6517, allocations: 492 kB / 0.9663 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.652, allocations: 0.7446 MB / 0.967 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.6521, allocations: 33.91 kB / 0.967 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.6522, allocations: 22.3 kB / 0.9671 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.6522, allocations: 0 / 0.9671 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.005292/0.6575, allocations: 2.302 MB / 0.9693 GB, free: 12.34 MB / 0.7325 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","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches