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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.9 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 443.5 MB / 0.731 GB, free: 12.8 MB / 0.5919 GB [Timeout remaining time 87] 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=514,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=514,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.88 kB / 1.06 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8475, allocations: 160.7 MB / 1.217 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004073/0.8515, allocations: 2.018 MB / 1.219 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005751/0.8573, allocations: 3.729 MB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.8575, allocations: 1.156 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.8578, allocations: 57.38 kB / 1.222 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.8583, allocations: 113.4 kB / 1.222 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.8588, allocations: 125.7 kB / 1.222 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000461/0.8592, allocations: 252.7 kB / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.8594, allocations: 35.45 kB / 1.223 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.8597, allocations: 114.8 kB / 1.223 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.8599, allocations: 112.9 kB / 1.223 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.86, allocations: 15.19 kB / 1.223 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.8603, allocations: 124 kB / 1.223 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.8603, allocations: 47.42 kB / 1.223 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.8605, allocations: 97.33 kB / 1.223 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.861, allocations: 282.7 kB / 1.223 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.861, allocations: 1 kB / 1.223 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.861, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.861, allocations: 4 kB / 1.223 GB, free: 14.41 MB / 0.9356 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.001353/0.8623, allocations: 0.5885 MB / 1.224 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8624, allocations: 13.16 kB / 1.224 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.8625, allocations: 24.48 kB / 1.224 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.863, allocations: 262.4 kB / 1.224 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.863, allocations: 11.61 kB / 1.224 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.863, allocations: 5.469 kB / 1.224 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.8636, allocations: 180.3 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8636, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.8636, allocations: 9.125 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8636, allocations: 2 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.8643, allocations: 191.1 kB / 1.225 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.8653, allocations: 491.6 kB / 1.225 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.8657, allocations: 126.9 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.8661, allocations: 106.7 kB / 1.225 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.8671, allocations: 0.548 MB / 1.226 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.8672, allocations: 31.62 kB / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.8672, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.00124/0.8684, allocations: 358.7 kB / 1.226 GB, free: 12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8684, allocations: 52.78 kB / 1.226 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.8687, allocations: 239.2 kB / 1.227 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.8687, allocations: 29.92 kB / 1.227 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8689, allocations: 142.9 kB / 1.227 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.8689, allocations: 35.39 kB / 1.227 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.869, allocations: 30.62 kB / 1.227 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.8692, allocations: 339.9 kB / 1.227 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.8695, allocations: 91.41 kB / 1.227 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.8699, allocations: 91.86 kB / 1.227 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.8705, allocations: 197.7 kB / 1.228 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8705, allocations: 0 / 1.228 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007801/0.8713, allocations: 261.2 kB / 1.228 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8713, allocations: 4.094 kB / 1.228 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8713, allocations: 1.406 kB / 1.228 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8713, allocations: 4 kB / 1.228 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.8717, allocations: 49.75 kB / 1.228 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.8717, allocations: 3.938 kB / 1.228 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.8719, allocations: 27.45 kB / 1.228 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.8719, allocations: 6.672 kB / 1.228 GB, free: 10.84 MB / 0.9356 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.0001479/0.8721, allocations: 129.4 kB / 1.228 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.8722, allocations: 25.8 kB / 1.228 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000886/0.873, allocations: 275.9 kB / 1.228 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.873, allocations: 1.125 kB / 1.228 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8731, allocations: 9.312 kB / 1.228 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8731, allocations: 0 / 1.228 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.8734, allocations: 281.3 kB / 1.229 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.8735, allocations: 5.188 kB / 1.229 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.8738, allocations: 44.84 kB / 1.229 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8738, allocations: 3.938 kB / 1.229 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.8738, allocations: 5.625 kB / 1.229 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8738, allocations: 1 kB / 1.229 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8738, allocations: 3.938 kB / 1.229 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.8746, allocations: 356.8 kB / 1.229 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.8748, allocations: 113.7 kB / 1.229 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.8748, allocations: 5.031 kB / 1.229 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.8751, allocations: 27.27 kB / 1.229 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.8752, allocations: 21.08 kB / 1.229 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.8752, allocations: 6.484 kB / 1.229 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000174/0.8754, allocations: 172.7 kB / 1.229 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8754, allocations: 0 / 1.229 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003618/0.8757, allocations: 59.27 kB / 1.229 GB, free: 9.691 MB / 0.9356 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.0002721/0.876, allocations: 133.8 kB / 1.229 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007857/0.8768, allocations: 205.4 kB / 1.23 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8768, allocations: 0 / 1.23 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.8771, allocations: 121.9 kB / 1.23 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.8776, allocations: 38.25 kB / 1.23 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.8786, allocations: 450.8 kB / 1.23 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.8791, allocations: 0.7392 MB / 1.231 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.8792, allocations: 28.41 kB / 1.231 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of SimCode: time 7.22e-07/0.8792, allocations: 0 / 1.231 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of Templates: time 0.006434/0.8856, allocations: 3.009 MB / 1.234 GB, free: 5.477 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches