Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001505/0.001505, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001604/0.001604, allocations: 159 kB / 23.01 MB, free: 4.949 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.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 377.9 MB / 0.6228 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002162/0.002162, allocations: 66.25 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292/1.294, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00354/1.298, allocations: 2.36 MB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007577/1.299, allocations: 0.5062 MB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/1.299, allocations: 6.719 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/1.299, allocations: 111.5 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/1.299, allocations: 93.09 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/1.299, allocations: 46.89 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/1.3, allocations: 245.3 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/1.3, allocations: 77.5 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/1.3, allocations: 86 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/1.3, allocations: 92.08 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/1.3, allocations: 17.12 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.151e-05/1.3, allocations: 19.53 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/1.3, allocations: 81.28 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/1.3, allocations: 118.3 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/1.301, allocations: 349.1 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.301, allocations: 0 / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.953e-06/1.301, allocations: 0 / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.301, allocations: 2.594 kB / 1.158 GB, free: 30.75 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.0007403/1.301, allocations: 0.5878 MB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.301, allocations: 8.375 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/1.301, allocations: 50.62 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/1.302, allocations: 246.7 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.302, allocations: 16.44 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/1.302, allocations: 12.38 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/1.302, allocations: 146.7 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.302, allocations: 192 / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.302, allocations: 11.94 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.302, allocations: 5.125 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/1.302, allocations: 88.55 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/1.303, allocations: 0.4893 MB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/1.303, allocations: 83.77 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/1.303, allocations: 43.33 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/1.303, allocations: 7.125 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/1.303, allocations: 30.56 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/1.303, allocations: 0 / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003309/1.304, allocations: 150.4 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.304, allocations: 51.41 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/1.304, allocations: 393.5 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/1.304, allocations: 25.7 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.304, allocations: 214.3 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.304, allocations: 36.92 kB / 1.161 GB, free: 28.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/1.304, allocations: 30.25 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/1.304, allocations: 352.7 kB / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/1.304, allocations: 24.77 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/1.304, allocations: 54.83 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.305, allocations: 95.38 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.305, allocations: 0 / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002108/1.305, allocations: 145.5 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.305, allocations: 5.906 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.305, allocations: 2.969 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.305, allocations: 3.984 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.305, allocations: 27.61 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.305, allocations: 5.891 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/1.305, allocations: 14.8 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/1.305, allocations: 2.656 kB / 1.161 GB, free: 28.29 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.0001321/1.305, allocations: 166.3 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/1.305, allocations: 44.39 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/1.305, allocations: 39.88 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.305, allocations: 0 / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.305, allocations: 3.938 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.305, allocations: 3 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/1.306, allocations: 235.2 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.306, allocations: 0 / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.306, allocations: 18.2 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.306, allocations: 0 / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/1.306, allocations: 6.906 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.306, allocations: 4 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.306, allocations: 96 / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/1.306, allocations: 262 kB / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/1.306, allocations: 36.03 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.306, allocations: 0 / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/1.306, allocations: 6.938 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/1.306, allocations: 6.297 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/1.306, allocations: 0 / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000237/1.307, allocations: 281.8 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.307, allocations: 3.188 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002617/1.307, allocations: 44.05 kB / 1.162 GB, free: 27.56 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 9.363e-05/1.307, allocations: 102.8 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002171/1.307, allocations: 69.8 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.307, allocations: 0 / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/1.307, allocations: 34.69 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/1.308, allocations: 25.81 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/1.309, allocations: 0.6731 MB / 1.163 GB, free: 27.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/1.309, allocations: 196.5 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.682e-05/1.309, allocations: 9.891 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/1.309, allocations: 18 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/1.309, allocations: 0 / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of Templates: time 0.00483/1.314, allocations: 1.096 MB / 1.165 GB, free: 26.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.776909508975223]