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.001095/0.001095, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001016/0.001016, allocations: 189.5 kB / 17.35 MB, free: 5.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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.381/2.381, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 55.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7223, allocations: 151.7 MB / 1.167 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003081/0.7254, allocations: 2.002 MB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.7298, allocations: 3.7 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.7299, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.7302, allocations: 56.55 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.7305, allocations: 114.8 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.7308, allocations: 119.7 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.7312, allocations: 251.1 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.7313, allocations: 56.31 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.7315, allocations: 107.6 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.7317, allocations: 115.5 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.7317, allocations: 16 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.732, allocations: 119.8 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.7321, allocations: 51.77 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.7322, allocations: 99.41 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.7325, allocations: 278.9 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7325, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7326, allocations: 3.938 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7326, allocations: 0 / 1.174 GB, free: 12.65 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.001126/0.7337, allocations: 0.5876 MB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7337, allocations: 8.922 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.7338, allocations: 24.8 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.7342, allocations: 275.8 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7342, allocations: 12.33 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.7343, allocations: 4.375 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.7348, allocations: 171.9 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.7348, allocations: 0 / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.7348, allocations: 4 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7348, allocations: 3.984 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.7355, allocations: 191.8 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.7363, allocations: 492.4 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.7368, allocations: 134.4 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.7371, allocations: 105 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.738, allocations: 0.5532 MB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.738, allocations: 30.56 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.738, allocations: 0 / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.00121/0.7393, allocations: 353.4 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.7393, allocations: 55.34 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.7395, allocations: 238.7 kB / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.7395, allocations: 33.7 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.7396, allocations: 151.9 kB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.7397, allocations: 31.7 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.7398, allocations: 33.69 kB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7399, allocations: 338.8 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.7403, allocations: 103.9 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7406, allocations: 87.92 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.7413, allocations: 196.7 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7413, allocations: 0 / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007766/0.7421, allocations: 261.3 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7421, allocations: 4 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7421, allocations: 3.938 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7421, allocations: 0 / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.7424, allocations: 43.94 kB / 1.179 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7425, allocations: 4 kB / 1.179 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.7427, allocations: 35.86 kB / 1.179 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.7427, allocations: 7.984 kB / 1.179 GB, free: 7.805 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.0001085/0.7428, allocations: 121.8 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.7429, allocations: 23.86 kB / 1.179 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009057/0.7438, allocations: 287.1 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7438, allocations: 0 / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7438, allocations: 0 / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.7439, allocations: 116.8 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.744, allocations: 8 kB / 1.179 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7442, allocations: 31.89 kB / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.7443, allocations: 11.98 kB / 1.179 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001009/0.7453, allocations: 345.6 kB / 1.18 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008404/0.7462, allocations: 446.3 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003685/0.7465, allocations: 111.9 kB / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001394/0.7467, allocations: 174 kB / 1.18 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of Backend: time 4.21e-07/0.7467, allocations: 0 / 1.18 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008221/0.7475, allocations: 218.8 kB / 1.18 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008848/0.7484, allocations: 0.8467 MB / 1.181 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of Templates: time 0.00642/0.7548, allocations: 3.481 MB / 1.185 GB, free: 1.543 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 -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