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.001815/0.001815, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002251/0.002251, allocations: 201.2 kB / 22.17 MB, free: 5.211 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.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 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.001984/0.001984, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7424, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003363/0.7458, allocations: 2.045 MB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.7505, allocations: 3.741 MB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.929e-05/0.7506, allocations: 0 / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.7508, allocations: 55.56 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.7511, allocations: 111.2 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.7515, allocations: 131.7 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.7518, allocations: 259 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.7519, allocations: 32.39 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.7522, allocations: 107.6 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.7523, allocations: 115.5 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.7524, allocations: 19.94 kB / 1.281 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.7526, allocations: 123.8 kB / 1.281 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.7527, allocations: 43.83 kB / 1.281 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.7528, allocations: 95.47 kB / 1.281 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.7531, allocations: 290.8 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7532, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7532, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.7532, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 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.001252/0.7544, allocations: 0.5838 MB / 1.282 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7544, allocations: 8.031 kB / 1.282 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.7545, allocations: 28.73 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.755, allocations: 279.8 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.755, allocations: 8.375 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.755, allocations: 4.375 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.7555, allocations: 173.6 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7556, allocations: 0 / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.7556, allocations: 4 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7556, allocations: 7.984 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.7563, allocations: 183.8 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.7572, allocations: 0.4924 MB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.7577, allocations: 122.5 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.758, allocations: 100.8 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009464/0.759, allocations: 0.5454 MB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.759, allocations: 38.56 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.759, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001278/0.7603, allocations: 349.6 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.7603, allocations: 55.34 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.7606, allocations: 238.7 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.7606, allocations: 29.7 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.7607, allocations: 140.1 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.7608, allocations: 43.62 kB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.7608, allocations: 29.69 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.761, allocations: 330.8 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.7614, allocations: 99.91 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.7617, allocations: 91.92 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.7624, allocations: 193.3 kB / 1.285 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7624, allocations: 0 / 1.285 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008532/0.7633, allocations: 269.2 kB / 1.285 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7633, allocations: 9.719 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7633, allocations: 0 / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.7633, allocations: 0 / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.7636, allocations: 51.92 kB / 1.285 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7636, allocations: 3.938 kB / 1.285 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.7639, allocations: 31.92 kB / 1.285 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.7639, allocations: 7.984 kB / 1.285 GB, free: 8.578 MB / 0.9825 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.0001279/0.764, allocations: 126.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.7641, allocations: 19.86 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.765, allocations: 283.1 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.765, allocations: 4 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.765, allocations: 3.938 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.765, allocations: 4 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.7653, allocations: 273.5 kB / 1.286 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7653, allocations: 3.938 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.7656, allocations: 47.88 kB / 1.286 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7656, allocations: 4 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7657, allocations: 0 / 1.286 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7657, allocations: 0 / 1.286 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7657, allocations: 3.938 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.7665, allocations: 359.2 kB / 1.286 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.7667, allocations: 116.9 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.7667, allocations: 4 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.767, allocations: 27.95 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.767, allocations: 15.92 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.7671, allocations: 11.98 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001536/0.7672, allocations: 162 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7672, allocations: 0 / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003346/0.7675, allocations: 59.83 kB / 1.287 GB, free: 6.977 MB / 0.9825 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.0002472/0.7678, allocations: 147.5 kB / 1.287 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.7686, allocations: 199.8 kB / 1.287 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7686, allocations: 7.938 kB / 1.287 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.769, allocations: 115.8 kB / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.7694, allocations: 26.61 kB / 1.287 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.7704, allocations: 438 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.7707, allocations: 0.739 MB / 1.288 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.7709, allocations: 40.83 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.771, allocations: 19.42 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.771, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of Templates: time 0.006696/0.7777, allocations: 2.749 MB / 1.291 GB, free: 2.477 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.545813838019967]