Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001896/0.001896, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001845/0.001845, allocations: 186.6 kB / 22.22 MB, free: 5.102 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.658/1.658, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.91 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8035, allocations: 160.8 MB / 1.218 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003823/0.8074, allocations: 2.045 MB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.8127, allocations: 3.745 MB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.8128, allocations: 8.969 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.8131, allocations: 54.22 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.8135, allocations: 113.6 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.8139, allocations: 128.1 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.8142, allocations: 257.8 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8144, allocations: 28.02 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.8146, allocations: 114.8 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.8148, allocations: 120.2 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.8148, allocations: 15.53 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.8151, allocations: 120 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.8152, allocations: 47.66 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.8153, allocations: 97.05 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.8157, allocations: 278.6 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8157, allocations: 4.625 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8157, allocations: 0 / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.8157, allocations: 0.9062 kB / 1.225 GB, free: 14.17 MB / 0.9356 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.001199/0.8169, allocations: 0.5954 MB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.817, allocations: 10 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.817, allocations: 23.92 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.8175, allocations: 269.5 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.8175, allocations: 11.7 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.8175, allocations: 5.875 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.8181, allocations: 170 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8181, allocations: 4 kB / 1.226 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.8181, allocations: 5.469 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.8181, allocations: 5.656 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.8187, allocations: 191.6 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.8197, allocations: 495.8 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.8201, allocations: 118 kB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.8205, allocations: 110.2 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.8215, allocations: 0.549 MB / 1.228 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.8215, allocations: 31.88 kB / 1.228 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.8215, allocations: 0 / 1.228 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001178/0.8227, allocations: 349.6 kB / 1.228 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.8227, allocations: 56.56 kB / 1.228 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.823, allocations: 235.4 kB / 1.229 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.823, allocations: 29.7 kB / 1.229 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.8231, allocations: 141.8 kB / 1.229 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.8232, allocations: 40.98 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.8233, allocations: 29.17 kB / 1.229 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8234, allocations: 335.9 kB / 1.229 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.8238, allocations: 99.78 kB / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8241, allocations: 95.91 kB / 1.229 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.8247, allocations: 197.1 kB / 1.229 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8247, allocations: 1.5 kB / 1.229 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007281/0.8255, allocations: 256 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8255, allocations: 5.844 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8255, allocations: 3.984 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8255, allocations: 0.7812 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.8258, allocations: 57.56 kB / 1.23 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.8258, allocations: 3.938 kB / 1.23 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.8261, allocations: 27.95 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.8261, allocations: 6.016 kB / 1.23 GB, free: 10.6 MB / 0.9356 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.0001578/0.8262, allocations: 126.4 kB / 1.23 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.8263, allocations: 25.45 kB / 1.23 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.8271, allocations: 283.6 kB / 1.23 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8271, allocations: 5.312 kB / 1.23 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8271, allocations: 5.25 kB / 1.23 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8271, allocations: 0 / 1.23 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.8275, allocations: 277.3 kB / 1.231 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8275, allocations: 1.375 kB / 1.231 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.8277, allocations: 44.94 kB / 1.231 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.8277, allocations: 0 / 1.231 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.8278, allocations: 5.484 kB / 1.231 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8278, allocations: 1.438 kB / 1.231 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8278, allocations: 7.938 kB / 1.231 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.8286, allocations: 356.9 kB / 1.231 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.8287, allocations: 112.8 kB / 1.231 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.8287, allocations: 5.406 kB / 1.231 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.829, allocations: 30.34 kB / 1.231 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.8291, allocations: 24.03 kB / 1.231 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.8291, allocations: 6.453 kB / 1.231 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001596/0.8292, allocations: 167.9 kB / 1.231 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8292, allocations: 4 kB / 1.231 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003398/0.8296, allocations: 59.58 kB / 1.231 GB, free: 9.438 MB / 0.9356 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.0002306/0.8298, allocations: 136.1 kB / 1.231 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007586/0.8306, allocations: 208.8 kB / 1.232 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8306, allocations: 0 / 1.232 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.8309, allocations: 109.4 kB / 1.232 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.8313, allocations: 34.92 kB / 1.232 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.8323, allocations: 426.4 kB / 1.232 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8327, allocations: 0.7353 MB / 1.233 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.8328, allocations: 36.92 kB / 1.233 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.8329, allocations: 23.42 kB / 1.233 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.8329, allocations: 0 / 1.233 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of Templates: time 0.007007/0.8399, allocations: 2.782 MB / 1.236 GB, free: 5.145 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.244680571369827]