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.001814/0.001814, allocations: 114.8 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.00214/0.00214, allocations: 198.6 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.578/1.578, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.001987/0.001987, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8558, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003857/0.8597, allocations: 2.043 MB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005198/0.8649, allocations: 3.745 MB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.865, allocations: 4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.8653, allocations: 59.55 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.8657, allocations: 111.3 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.866, allocations: 131.6 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.8664, allocations: 251.1 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.8665, allocations: 36.38 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.8667, allocations: 111.5 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.8669, allocations: 119.5 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.867, allocations: 16 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.8672, allocations: 115.8 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.8673, allocations: 47.77 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.8674, allocations: 95.45 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.8678, allocations: 286.8 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8678, allocations: 4 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8678, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8678, allocations: 0 / 1.281 GB, free: 13.21 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.001243/0.869, allocations: 0.5838 MB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8691, allocations: 8.031 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.8691, allocations: 24.8 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.8696, allocations: 283.7 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.8696, allocations: 4.375 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.8697, allocations: 8.375 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.8702, allocations: 176.2 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8702, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.8702, allocations: 8 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8702, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.871, allocations: 191.8 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.872, allocations: 0.4885 MB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.8724, allocations: 122.4 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.8728, allocations: 100.8 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.8738, allocations: 0.5493 MB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.8738, allocations: 34.56 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.8738, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001319/0.8751, allocations: 349.4 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.8752, allocations: 59.62 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.8754, allocations: 238.6 kB / 1.284 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.8755, allocations: 25.7 kB / 1.284 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.8756, allocations: 144.1 kB / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.8756, allocations: 39.62 kB / 1.284 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.8757, allocations: 25.7 kB / 1.284 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8759, allocations: 338.8 kB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.8762, allocations: 95.91 kB / 1.285 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.8766, allocations: 95.91 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.8773, allocations: 197.3 kB / 1.285 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8773, allocations: 0 / 1.285 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008517/0.8782, allocations: 257.3 kB / 1.285 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.8782, allocations: 4 kB / 1.285 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8782, allocations: 3.938 kB / 1.285 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8782, allocations: 11.98 kB / 1.285 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.8786, allocations: 51.89 kB / 1.285 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8786, allocations: 3.938 kB / 1.285 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.8788, allocations: 31.91 kB / 1.285 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.8788, allocations: 4 kB / 1.285 GB, free: 8.375 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.0001377/0.879, allocations: 125.8 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.879, allocations: 19.86 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000912/0.8799, allocations: 287 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8799, allocations: 8 kB / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8799, allocations: 3.938 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.88, allocations: 3.984 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.8803, allocations: 269.5 kB / 1.286 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8803, allocations: 0 / 1.286 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.8806, allocations: 43.94 kB / 1.286 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.8806, allocations: 0 / 1.286 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.8806, allocations: 4 kB / 1.286 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8806, allocations: 0 / 1.286 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8806, allocations: 7.938 kB / 1.286 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.8815, allocations: 367.1 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.8816, allocations: 116.9 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.8817, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.8819, allocations: 23.97 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.882, allocations: 19.91 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.882, allocations: 11.98 kB / 1.287 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001626/0.8822, allocations: 166 kB / 1.287 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8822, allocations: 4 kB / 1.287 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003384/0.8825, allocations: 63.81 kB / 1.287 GB, free: 6.758 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.0002316/0.8828, allocations: 131.6 kB / 1.287 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007941/0.8835, allocations: 207.8 kB / 1.287 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8835, allocations: 0 / 1.287 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.8839, allocations: 111.8 kB / 1.287 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.8844, allocations: 35.19 kB / 1.287 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.8853, allocations: 438 kB / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.8857, allocations: 0.739 MB / 1.288 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.8858, allocations: 32.86 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.8859, allocations: 27.36 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8859, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.007078/0.893, allocations: 2.742 MB / 1.291 GB, free: 2.273 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 cvode -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.99245513183996]