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.001072/0.001072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002603, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001043/0.001043, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.00237, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.873/0.873, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/0.9573, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.756/1.756, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4607/2.217, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.034e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002062/0.002072, allocations: 2.143 MB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.005724, allocations: 4.207 MB / 0.7355 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.00581, allocations: 7.938 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.00633, allocations: 186.1 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.006423, allocations: 72.83 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.00689, allocations: 281.4 kB / 0.7361 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.007304, allocations: 393.2 kB / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.007388, allocations: 34.53 kB / 0.7365 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.007569, allocations: 207.6 kB / 0.7367 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.007676, allocations: 100.2 kB / 0.7368 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.007698, allocations: 13.78 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.008091, allocations: 335.5 kB / 0.7371 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.00817, allocations: 95.7 kB / 0.7372 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.008237, allocations: 75.75 kB / 0.7373 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.008619, allocations: 427.8 kB / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.008629, allocations: 0 / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.008629, allocations: 0 / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.008641, allocations: 8.688 kB / 0.7377 GB, free: 12.02 MB / 0.7136 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.0007106/0.009351, allocations: 0.7089 MB / 0.7384 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.009378, allocations: 12.03 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.009605, allocations: 138.8 kB / 0.7385 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.009818, allocations: 252.8 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.009827, allocations: 4.375 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.009843, allocations: 13.22 kB / 0.7388 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.01003, allocations: 128.9 kB / 0.7389 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-06/0.01004, allocations: 192 / 0.7389 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.01005, allocations: 5.094 kB / 0.7389 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.01005, allocations: 4 kB / 0.7389 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.01012, allocations: 25.39 kB / 0.7389 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.0105, allocations: 300.4 kB / 0.7392 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.01057, allocations: 81.25 kB / 0.7393 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.01061, allocations: 28.84 kB / 0.7393 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.01065, allocations: 19.98 kB / 0.7393 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.01067, allocations: 38.72 kB / 0.7394 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.01067, allocations: 6.188 kB / 0.7394 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001757/0.01084, allocations: 93.64 kB / 0.7395 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.01087, allocations: 51.41 kB / 0.7395 GB, free: 10 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01104, allocations: 343.5 kB / 0.7398 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01106, allocations: 29.7 kB / 0.7399 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.01111, allocations: 141.8 kB / 0.74 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.01114, allocations: 39.64 kB / 0.74 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.01119, allocations: 41.66 kB / 0.7401 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.01126, allocations: 351.2 kB / 0.7404 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.01132, allocations: 67.14 kB / 0.7405 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.01137, allocations: 65.56 kB / 0.7405 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.01169, allocations: 114.5 kB / 0.7406 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01169, allocations: 0 / 0.7406 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001527/0.01185, allocations: 193 kB / 0.7408 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.01188, allocations: 48.06 kB / 0.7409 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01188, allocations: 0 / 0.7409 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/0.01189, allocations: 4 kB / 0.7409 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01202, allocations: 43.88 kB / 0.7409 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01203, allocations: 0 / 0.7409 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.0121, allocations: 25.5 kB / 0.7409 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01211, allocations: 4 kB / 0.741 GB, free: 8.449 MB / 0.7136 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 7.052e-05/0.01218, allocations: 120.7 kB / 0.7411 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.01221, allocations: 23.92 kB / 0.7411 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.01236, allocations: 122.8 kB / 0.7412 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01237, allocations: 0 / 0.7412 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01237, allocations: 4 kB / 0.7412 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01237, allocations: 2.938 kB / 0.7412 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01251, allocations: 161.7 kB / 0.7414 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01251, allocations: 3.938 kB / 0.7414 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.01261, allocations: 35.95 kB / 0.7414 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.01266, allocations: 47.64 kB / 0.7415 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01266, allocations: 0 / 0.7415 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01268, allocations: 15.92 kB / 0.7415 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01268, allocations: 3.969 kB / 0.7415 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01268, allocations: 0 / 0.7415 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01282, allocations: 222.2 kB / 0.7417 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01285, allocations: 4 kB / 0.7417 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.01293, allocations: 23.86 kB / 0.7417 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.01297, allocations: 15.97 kB / 0.7417 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01298, allocations: 7.984 kB / 0.7417 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.01307, allocations: 144.7 kB / 0.7419 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 0 / 0.7419 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000241/0.01331, allocations: 122.3 kB / 0.742 GB, free: 7.344 MB / 0.7136 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.0001964/0.01351, allocations: 172.1 kB / 0.7421 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01369, allocations: 200.4 kB / 0.7423 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.0137, allocations: 4 kB / 0.7423 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/0.01374, allocations: 33.69 kB / 0.7424 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01399, allocations: 92.41 kB / 0.7425 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.01767, allocations: 0.5741 MB / 0.743 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.01772, allocations: 103.9 kB / 0.7431 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.728e-05/0.01782, allocations: 34.86 kB / 0.7432 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.01796, allocations: 108.4 kB / 0.7433 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.01796, allocations: 0 / 0.7433 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of Templates: time 0.006627/0.02459, allocations: 5.485 MB / 0.7486 GB, free: 0.707 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.636581343598664]