Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 213.7 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.168/3.168, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 69.45 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.344, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003408/0.3475, allocations: 2 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.3528, allocations: 3.907 MB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.3529, allocations: 7.938 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008668/0.3538, allocations: 175.1 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.354, allocations: 75.41 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.3548, allocations: 315.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.3554, allocations: 390.8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3555, allocations: 32.56 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3557, allocations: 119.5 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3559, allocations: 131.5 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.3559, allocations: 16 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.3565, allocations: 327.5 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3566, allocations: 107.6 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3567, allocations: 115.3 kB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.3574, allocations: 0.5331 MB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3574, allocations: 0 / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3574, allocations: 0 / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3574, allocations: 0 / 1.335 GB, free: 8.789 MB / 1.029 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.001429/0.3588, allocations: 0.7002 MB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3589, allocations: 8.031 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.3594, allocations: 92.59 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.36, allocations: 296.7 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.36, allocations: 4.375 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.36, allocations: 8.375 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.3606, allocations: 207.3 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3606, allocations: 0 / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3606, allocations: 0 / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3606, allocations: 4 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.3613, allocations: 247.8 kB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009836/0.3623, allocations: 0.4922 MB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.3627, allocations: 174.5 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.3631, allocations: 128.8 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.3632, allocations: 19.98 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3632, allocations: 30.56 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3632, allocations: 4.219 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.00127/0.3645, allocations: 457.1 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3645, allocations: 51.41 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.365, allocations: 417.9 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.365, allocations: 29.7 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3651, allocations: 187.9 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.3652, allocations: 35.69 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.3653, allocations: 37.69 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3654, allocations: 350.8 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.3659, allocations: 221.5 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.3663, allocations: 206.7 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.3671, allocations: 367.6 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3671, allocations: 3.938 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001036/0.3682, allocations: 0.5141 MB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.3682, allocations: 41.69 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3682, allocations: 4 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3683, allocations: 0 / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3686, allocations: 47.94 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3686, allocations: 0 / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3689, allocations: 35.86 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.3689, allocations: 11.98 kB / 1.34 GB, free: 3.219 MB / 1.029 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001709/0.3691, allocations: 158.2 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.3691, allocations: 39.72 kB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009324/0.3701, allocations: 344.6 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3701, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3701, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3702, allocations: 59.73 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.3703, allocations: 3.938 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.3705, allocations: 31.95 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.3706, allocations: 11.98 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/0.3717, allocations: 404.6 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009209/0.3726, allocations: 498.3 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003884/0.373, allocations: 132.8 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003135/0.3733, allocations: 295.1 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of Backend: time 4.51e-07/0.3733, allocations: 0 / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.3746, allocations: 0.4912 MB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of SimCode: time 0.001316/0.3759, allocations: 1.077 MB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of Templates: time 0.01195/0.3878, allocations: 6.586 MB / 1.35 GB, free: 9.105 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.726908909993654]