Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001351/0.001351, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.001375/0.001375, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.882/2.882, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9187/0.9208, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00341/0.9242, allocations: 2.366 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.925, allocations: 0.5043 MB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.9251, allocations: 3.25 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.9255, allocations: 124 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.9257, allocations: 90.61 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.9258, allocations: 48.41 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.9261, allocations: 243.6 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.9263, allocations: 70.22 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.9264, allocations: 93.3 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.9266, allocations: 82.25 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.9266, allocations: 18.84 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.9267, allocations: 23 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.9268, allocations: 84.05 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.927, allocations: 111.8 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.9274, allocations: 358.4 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9274, allocations: 0.5156 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9274, allocations: 1.531 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.9275, allocations: 0 / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008719/0.9283, allocations: 0.5783 MB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9284, allocations: 9.406 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/0.9284, allocations: 49.53 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.9288, allocations: 247.7 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.9288, allocations: 14.88 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.9289, allocations: 16.16 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.9292, allocations: 137.7 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.9292, allocations: 4.844 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.9292, allocations: 13.09 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9292, allocations: 4.125 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.9294, allocations: 92.3 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.9302, allocations: 0.4903 MB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.9305, allocations: 78.59 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.9306, allocations: 45.34 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.9306, allocations: 1.781 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.9307, allocations: 32.61 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.9307, allocations: 0 / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003921/0.931, allocations: 148.2 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.9311, allocations: 56.56 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.9315, allocations: 390.3 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.9316, allocations: 29.64 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.9317, allocations: 217.9 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.9317, allocations: 35.47 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.9318, allocations: 26.55 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.9319, allocations: 352.7 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.9319, allocations: 25.48 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.932, allocations: 55.34 kB / 1.194 GB, free: 11.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.9322, allocations: 98 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9322, allocations: 0 / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002519/0.9325, allocations: 147.2 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9325, allocations: 5.578 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9325, allocations: 2.156 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9325, allocations: 1 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9326, allocations: 27.77 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.9326, allocations: 1.734 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.9327, allocations: 7.828 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.9327, allocations: 12 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001405/0.9329, allocations: 169.3 kB / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.9329, allocations: 36.8 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.933, allocations: 39.02 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.933, allocations: 1.062 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.933, allocations: 1.844 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.933, allocations: 0 / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.9333, allocations: 243 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9333, allocations: 0 / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.9334, allocations: 18.53 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.9334, allocations: 1.906 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9334, allocations: 0 / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9334, allocations: 1.156 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9334, allocations: 3.938 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.9338, allocations: 262.4 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.9339, allocations: 35.8 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.9339, allocations: 5.672 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.934, allocations: 9.797 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.934, allocations: 7.406 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.934, allocations: 1.188 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003159/0.9344, allocations: 281.9 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9344, allocations: 0 / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000282/0.9346, allocations: 42.33 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.0001048/0.9347, allocations: 99.3 kB / 1.195 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.935, allocations: 66.44 kB / 1.195 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.935, allocations: 5.188 kB / 1.195 GB, free: 10.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.935, allocations: 34.34 kB / 1.195 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.9354, allocations: 27.62 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.9365, allocations: 0.6599 MB / 1.196 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.9367, allocations: 192.6 kB / 1.196 GB, free: 9.816 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.9368, allocations: 14.78 kB / 1.196 GB, free: 9.812 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.9368, allocations: 15.09 kB / 1.196 GB, free: 9.805 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.9368, allocations: 0 / 1.196 GB, free: 9.805 MB / 1.076 GB Notification: Performance of Templates: time 0.005312/0.9421, allocations: 1.113 MB / 1.197 GB, free: 9.602 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.934708305052482]