Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00174/0.00174, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.002228/0.002228, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.523/1.523, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 59.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8421, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003893/0.846, allocations: 2.011 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.8517, allocations: 3.7 MB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.852, allocations: 8 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.8525, allocations: 63 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.853, allocations: 103.3 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.8534, allocations: 127.7 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.8539, allocations: 255.1 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.8541, allocations: 48.36 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.8544, allocations: 107.6 kB / 1.174 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.8546, allocations: 115.5 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.8547, allocations: 16 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.8549, allocations: 119.8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.855, allocations: 47.83 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.8551, allocations: 99.39 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.8556, allocations: 271.9 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8556, allocations: 7.938 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8556, allocations: 0 / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.8556, allocations: 0 / 1.174 GB, free: 12.74 MB / 0.9044 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.001298/0.8569, allocations: 0.5954 MB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.857, allocations: 12.92 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.8571, allocations: 28.8 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.8575, allocations: 259.9 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.8576, allocations: 16.31 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.8576, allocations: 8.375 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.8582, allocations: 181.6 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8582, allocations: 0 / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.8582, allocations: 0 / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8582, allocations: 4 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.8589, allocations: 195.8 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.86, allocations: 492.3 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.8604, allocations: 122.5 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.8608, allocations: 112.8 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009458/0.8618, allocations: 0.5495 MB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.8618, allocations: 38.5 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.8618, allocations: 0 / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001296/0.8631, allocations: 353.4 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.8632, allocations: 55.41 kB / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.8635, allocations: 234.7 kB / 1.177 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.8635, allocations: 29.7 kB / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8637, allocations: 148 kB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.8637, allocations: 35.69 kB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.8638, allocations: 29.7 kB / 1.178 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.864, allocations: 334.8 kB / 1.178 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.8643, allocations: 95.84 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.8647, allocations: 99.91 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.8654, allocations: 196.7 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8655, allocations: 0 / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008093/0.8663, allocations: 253.2 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8663, allocations: 8 kB / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.8663, allocations: 7.984 kB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8663, allocations: 0 / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.8667, allocations: 43.95 kB / 1.179 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8667, allocations: 3.938 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.8669, allocations: 31.91 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.8669, allocations: 4 kB / 1.179 GB, free: 7.895 MB / 0.9044 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.0001527/0.8671, allocations: 133.8 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.8672, allocations: 23.86 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009175/0.8681, allocations: 271.9 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.8681, allocations: 4 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8681, allocations: 3.938 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8681, allocations: 3.984 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.8685, allocations: 285.3 kB / 1.179 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8685, allocations: 0 / 1.179 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.8688, allocations: 47.94 kB / 1.179 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.8689, allocations: 4 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.8689, allocations: 7.938 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8689, allocations: 0 / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.8689, allocations: 11.91 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.8698, allocations: 359.3 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.8699, allocations: 112.9 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.8699, allocations: 0 / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.8702, allocations: 27.91 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.8703, allocations: 23.92 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.8703, allocations: 7.984 kB / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000172/0.8705, allocations: 169.9 kB / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8705, allocations: 0 / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003475/0.8709, allocations: 63.81 kB / 1.18 GB, free: 6.27 MB / 0.9044 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.0002499/0.8711, allocations: 139 kB / 1.18 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008098/0.8719, allocations: 215.8 kB / 1.18 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8719, allocations: 0 / 1.18 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.8723, allocations: 119.8 kB / 1.181 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.8728, allocations: 27.91 kB / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.8738, allocations: 422 kB / 1.181 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.8742, allocations: 0.7314 MB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.8744, allocations: 32.86 kB / 1.182 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.8744, allocations: 19.42 kB / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8744, allocations: 0 / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.006928/0.8814, allocations: 2.722 MB / 1.184 GB, free: 1.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches