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.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.001816/0.001816, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.001843/0.001843, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.725/2.725, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|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 1.813e-06/1.813e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.708e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003689/0.003726, allocations: 1.964 MB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00578/0.009506, allocations: 3.549 MB / 0.9564 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.009642, allocations: 4 kB / 0.9564 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.009969, allocations: 67.44 kB / 0.9564 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.01034, allocations: 103.2 kB / 0.9565 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.01082, allocations: 167.5 kB / 0.9567 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.01124, allocations: 267 kB / 0.9569 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.01139, allocations: 40.45 kB / 0.957 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.01172, allocations: 155.5 kB / 0.9571 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.01189, allocations: 87.77 kB / 0.9572 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.01193, allocations: 16 kB / 0.9572 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.01218, allocations: 107.8 kB / 0.9573 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.01227, allocations: 55.83 kB / 0.9574 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.01237, allocations: 63.77 kB / 0.9574 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.01285, allocations: 311 kB / 0.9577 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.01286, allocations: 0 / 0.9577 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.01286, allocations: 0 / 0.9577 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.01288, allocations: 0 / 0.9577 GB, free: 4.637 MB / 0.8575 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.001352/0.01423, allocations: 0.5317 MB / 0.9583 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.01427, allocations: 8.031 kB / 0.9583 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.01476, allocations: 68.73 kB / 0.9583 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.01537, allocations: 233.8 kB / 0.9586 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.01538, allocations: 8.375 kB / 0.9586 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.01541, allocations: 4.375 kB / 0.9586 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.01598, allocations: 168.5 kB / 0.9587 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01599, allocations: 192 / 0.9587 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.01602, allocations: 12.12 kB / 0.9587 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01602, allocations: 4 kB / 0.9587 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.01678, allocations: 195.8 kB / 0.9589 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.01773, allocations: 412.1 kB / 0.9593 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.01818, allocations: 118.5 kB / 0.9594 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.01857, allocations: 100.8 kB / 0.9595 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/0.01929, allocations: 107.8 kB / 0.9596 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.01932, allocations: 30.56 kB / 0.9597 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.01932, allocations: 0 / 0.9597 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001339/0.02066, allocations: 365.5 kB / 0.96 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.02071, allocations: 51.41 kB / 0.9601 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.02098, allocations: 244.2 kB / 0.9603 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.02101, allocations: 25.7 kB / 0.9603 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.02113, allocations: 140.1 kB / 0.9605 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.02118, allocations: 39.64 kB / 0.9605 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.02126, allocations: 33.69 kB / 0.9605 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.02142, allocations: 338.8 kB / 0.9608 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.0218, allocations: 95.91 kB / 0.9609 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.02216, allocations: 96.28 kB / 0.961 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.0229, allocations: 204.8 kB / 0.9612 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02291, allocations: 0 / 0.9612 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008589/0.02377, allocations: 253.4 kB / 0.9615 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.02379, allocations: 8 kB / 0.9615 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.02379, allocations: 0 / 0.9615 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.02381, allocations: 0 / 0.9615 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.02415, allocations: 51.88 kB / 0.9615 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02415, allocations: 0 / 0.9615 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.02439, allocations: 35.91 kB / 0.9616 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.02441, allocations: 4 kB / 0.9616 GB, free: 0.5469 MB / 0.8575 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.0001585/0.02457, allocations: 125.8 kB / 0.9617 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.02463, allocations: 31.78 kB / 0.9617 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009651/0.02559, allocations: 283.2 kB / 0.962 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.02559, allocations: 4 kB / 0.962 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0256, allocations: 4 kB / 0.962 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.0256, allocations: 3.984 kB / 0.962 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.0259, allocations: 197.1 kB / 0.9622 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.0259, allocations: 0 / 0.9622 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.02621, allocations: 47.94 kB / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02621, allocations: 0 / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.02623, allocations: 0 / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.02623, allocations: 0 / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02623, allocations: 4 kB / 0.9622 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.02716, allocations: 367 kB / 0.9626 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.02725, allocations: 39.78 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.02729, allocations: 7.984 kB / 0.9626 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.02755, allocations: 27.91 kB / 0.9627 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.02763, allocations: 19.91 kB / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.02764, allocations: 4 kB / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001722/0.02781, allocations: 179.1 kB / 0.9628 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02781, allocations: 0 / 0.9628 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003439/0.02816, allocations: 55.88 kB / 0.9629 GB, free: 15.11 MB / 0.8731 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.0002805/0.02844, allocations: 147 kB / 0.963 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.02929, allocations: 207.8 kB / 0.9632 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02929, allocations: 0 / 0.9632 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.0297, allocations: 111.9 kB / 0.9633 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.0301, allocations: 33.66 kB / 0.9634 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.03101, allocations: 415.2 kB / 0.9638 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.03114, allocations: 129.2 kB / 0.9639 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.0313, allocations: 36.61 kB / 0.9639 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.03138, allocations: 20.48 kB / 0.9639 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.03138, allocations: 0 / 0.9639 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.008522/0.0399, allocations: 2.856 MB / 0.9667 GB, free: 11.18 MB / 0.8731 GB " [Timeout remaining time 300] 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: 8.152110882103443]