Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002567/0.002567, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.88 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.972, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00315/0.9751, allocations: 2.053 MB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00406/0.9792, allocations: 3.735 MB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.9793, allocations: 1.312 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.9796, allocations: 59.34 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.9799, allocations: 106.9 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.9803, allocations: 137.7 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.9806, allocations: 251.9 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.9808, allocations: 35.28 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.981, allocations: 108.6 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.9811, allocations: 118.8 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.9812, allocations: 16.06 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.9814, allocations: 117.1 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.9815, allocations: 47.86 kB / 1.279 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.9816, allocations: 97.72 kB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.982, allocations: 286.4 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.982, allocations: 0 / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.982, allocations: 4.75 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.982, allocations: 3.938 kB / 1.279 GB, free: 3.133 MB / 0.9981 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.00105/0.983, allocations: 0.5879 MB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9831, allocations: 11.53 kB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.9831, allocations: 23.55 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.9835, allocations: 276.7 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.9836, allocations: 9.438 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.9836, allocations: 4.906 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.9841, allocations: 174.3 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9841, allocations: 0.9375 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.9841, allocations: 5.031 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.9841, allocations: 3.484 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.9848, allocations: 188.3 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.9857, allocations: 0.4886 MB / 1.281 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.9861, allocations: 119.3 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.9864, allocations: 105.8 kB / 1.281 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/0.9872, allocations: 0.5419 MB / 1.281 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.9873, allocations: 44.52 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.9873, allocations: 0 / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001266/0.9885, allocations: 348.3 kB / 1.282 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.9886, allocations: 52.72 kB / 1.282 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.9888, allocations: 236.1 kB / 1.282 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.9888, allocations: 26.95 kB / 1.282 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.9889, allocations: 142 kB / 1.282 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.9889, allocations: 42.06 kB / 1.282 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.989, allocations: 36.06 kB / 1.282 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9891, allocations: 331.3 kB / 1.283 GB, free: 384 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.9895, allocations: 95.25 kB / 1.283 GB, free: 364 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.9899, allocations: 96.17 kB / 1.283 GB, free: 344 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.9905, allocations: 196.9 kB / 1.283 GB, free: 292 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9905, allocations: 4 kB / 1.283 GB, free: 288 kB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007761/0.9913, allocations: 255.3 kB / 1.283 GB, free: 200 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9913, allocations: 5.031 kB / 1.283 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9913, allocations: 7.266 kB / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.9914, allocations: 3.984 kB / 1.283 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.9917, allocations: 43.59 kB / 1.283 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.9917, allocations: 7.875 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.9919, allocations: 34.11 kB / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.992, allocations: 3.188 kB / 1.283 GB, free: 176 kB / 0.9981 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.0001019/0.9921, allocations: 128.6 kB / 1.283 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.9921, allocations: 23.17 kB / 1.283 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.993, allocations: 280.7 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.993, allocations: 0 / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.993, allocations: 9 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.993, allocations: 4.547 kB / 1.284 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.9935, allocations: 271.7 kB / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9935, allocations: 0 / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.9938, allocations: 53.3 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9938, allocations: 0 / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.9938, allocations: 2.906 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.9938, allocations: 5.328 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9938, allocations: 4.594 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.9946, allocations: 357.8 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.9947, allocations: 112.4 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.9948, allocations: 1.438 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.995, allocations: 28.19 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.9951, allocations: 26.59 kB / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.9951, allocations: 8.609 kB / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000171/0.9953, allocations: 165.1 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9953, allocations: 0 / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003469/0.9956, allocations: 62.88 kB / 1.285 GB, free: 15.23 MB / 1.014 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.000245/0.9959, allocations: 134.2 kB / 1.285 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.9966, allocations: 208.3 kB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9966, allocations: 3.938 kB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.997, allocations: 111.6 kB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.9975, allocations: 25.41 kB / 1.285 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.9984, allocations: 450.5 kB / 1.286 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.9988, allocations: 0.7326 MB / 1.286 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.999, allocations: 43.73 kB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.999, allocations: 19.28 kB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.999, allocations: 0 / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of Templates: time 0.007006/1.006, allocations: 2.753 MB / 1.289 GB, free: 13.82 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.047340202145278]