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.002408/0.002408, allocations: 87.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002486/0.002486, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.341e-05/4.562e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004015/0.004061, allocations: 2.065 MB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006981/0.01104, allocations: 4.168 MB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.01122, allocations: 7.938 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.01224, allocations: 193.5 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.01244, allocations: 76.44 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.01338, allocations: 301.9 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008192/0.0142, allocations: 413.2 kB / 0.8178 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.01433, allocations: 32.56 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.01458, allocations: 147.7 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.01478, allocations: 101.1 kB / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.01482, allocations: 16 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.01545, allocations: 320.3 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.01559, allocations: 103.7 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.01573, allocations: 96.55 kB / 0.8186 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008572/0.01659, allocations: 0.5763 MB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01659, allocations: 1.344 kB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.654e-06/0.0166, allocations: 0 / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.0166, allocations: 0 / 0.8192 GB, free: 9.5 MB / 0.7761 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.001474/0.01808, allocations: 0.7833 MB / 0.82 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.01812, allocations: 8.031 kB / 0.82 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.01872, allocations: 89.42 kB / 0.82 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.01932, allocations: 282.3 kB / 0.8203 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.01934, allocations: 4.328 kB / 0.8203 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.01937, allocations: 12.38 kB / 0.8203 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.01978, allocations: 131.9 kB / 0.8205 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01979, allocations: 4.125 kB / 0.8205 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.01981, allocations: 8.688 kB / 0.8205 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.01982, allocations: 5 kB / 0.8205 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.02033, allocations: 133 kB / 0.8206 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.02142, allocations: 0.5331 MB / 0.8211 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.02173, allocations: 87.02 kB / 0.8212 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.02201, allocations: 82.95 kB / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.02207, allocations: 15.98 kB / 0.8213 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.02211, allocations: 41.39 kB / 0.8213 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.02211, allocations: 0 / 0.8213 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000997/0.02311, allocations: 278.5 kB / 0.8216 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.02316, allocations: 52.47 kB / 0.8217 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.02374, allocations: 482.7 kB / 0.8221 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.02377, allocations: 25.7 kB / 0.8221 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.024, allocations: 251.8 kB / 0.8224 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.02406, allocations: 39.64 kB / 0.8224 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02417, allocations: 55.34 kB / 0.8225 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003516/0.02452, allocations: 0.5401 MB / 0.823 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.02484, allocations: 105.7 kB / 0.8231 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.02512, allocations: 108.7 kB / 0.8232 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.02568, allocations: 202.3 kB / 0.8234 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02569, allocations: 0 / 0.8234 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000791/0.02648, allocations: 326 kB / 0.8237 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.02654, allocations: 45.69 kB / 0.8237 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02654, allocations: 0 / 0.8237 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.02656, allocations: 1.094 kB / 0.8238 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.02684, allocations: 35.91 kB / 0.8238 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.02685, allocations: 0.75 kB / 0.8238 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.02706, allocations: 31.27 kB / 0.8238 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.02708, allocations: 4 kB / 0.8238 GB, free: 4.543 MB / 0.7761 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.0001698/0.02725, allocations: 172.5 kB / 0.824 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.02734, allocations: 47.7 kB / 0.824 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.02807, allocations: 224.9 kB / 0.8242 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.02807, allocations: 4 kB / 0.8242 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.02808, allocations: 4 kB / 0.8243 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.02808, allocations: 0 / 0.8243 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.02849, allocations: 288.3 kB / 0.8245 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.0285, allocations: 3.984 kB / 0.8245 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.02874, allocations: 31.97 kB / 0.8246 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.02874, allocations: 3.938 kB / 0.8246 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.02877, allocations: 7.984 kB / 0.8246 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.02877, allocations: 0 / 0.8246 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.02877, allocations: 7.938 kB / 0.8246 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.02952, allocations: 364.3 kB / 0.8249 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.02965, allocations: 51.73 kB / 0.825 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.02969, allocations: 0 / 0.825 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.02991, allocations: 15.98 kB / 0.825 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.02999, allocations: 15.97 kB / 0.825 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.03001, allocations: 7.984 kB / 0.825 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003567/0.03037, allocations: 311.1 kB / 0.8253 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03037, allocations: 0 / 0.8253 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005238/0.03089, allocations: 119.8 kB / 0.8254 GB, free: 2.828 MB / 0.7761 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.0004225/0.03132, allocations: 202.9 kB / 0.8256 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007787/0.03209, allocations: 296.7 kB / 0.8259 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0321, allocations: 0 / 0.8259 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.0324, allocations: 99.56 kB / 0.826 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.03291, allocations: 75.78 kB / 0.8261 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.03409, allocations: 0.5434 MB / 0.8266 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.03432, allocations: 179.2 kB / 0.8268 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.03449, allocations: 41.86 kB / 0.8268 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.0346, allocations: 32.48 kB / 0.8268 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.0346, allocations: 0 / 0.8268 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.01154/0.04614, allocations: 5.123 MB / 0.8318 GB, free: 12.27 MB / 0.7917 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/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.513420113013126]