Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001893/0.001893, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002642/0.002642, allocations: 157.2 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.6/1.6, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002321/0.002321, allocations: 63.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4075, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004671/0.4122, allocations: 2.345 MB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.4134, allocations: 0.5159 MB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.4136, allocations: 4 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.4141, allocations: 123.5 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.4143, allocations: 91.27 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.4145, allocations: 43.95 kB / 1.121 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.4149, allocations: 246.7 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.4151, allocations: 71.66 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4153, allocations: 91.61 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.4155, allocations: 79.56 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.4155, allocations: 23.94 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.4156, allocations: 20 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4157, allocations: 79.69 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.4158, allocations: 119.3 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.4163, allocations: 350.3 kB / 1.122 GB, free: 14.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4163, allocations: 0 / 1.122 GB, free: 14.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4163, allocations: 4 kB / 1.122 GB, free: 14.33 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4164, allocations: 0 / 1.122 GB, free: 14.33 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.001129/0.4175, allocations: 0.5895 MB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4175, allocations: 12.03 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.4176, allocations: 44.66 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.4181, allocations: 248.6 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4181, allocations: 8.375 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.4181, allocations: 24.38 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.4184, allocations: 135.5 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4184, allocations: 192 / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4185, allocations: 11.94 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.4185, allocations: 4 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.4187, allocations: 91.89 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.4195, allocations: 487.8 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.4198, allocations: 90.48 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4199, allocations: 44.95 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.4199, allocations: 0 / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4199, allocations: 34.56 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.4199, allocations: 0 / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003949/0.4203, allocations: 149.4 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4204, allocations: 51.41 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.4208, allocations: 390 kB / 1.124 GB, free: 11.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4209, allocations: 33.7 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.4211, allocations: 220.2 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.4211, allocations: 27.75 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.4211, allocations: 29.7 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4213, allocations: 350.8 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.4214, allocations: 23.98 kB / 1.125 GB, free: 11.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4215, allocations: 63.41 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.4217, allocations: 91.73 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4217, allocations: 3.938 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002619/0.422, allocations: 149.3 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.422, allocations: 4 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.422, allocations: 7.984 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.422, allocations: 0 / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4221, allocations: 23.98 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4221, allocations: 7.938 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.4222, allocations: 12.03 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4222, allocations: 4 kB / 1.125 GB, free: 10.73 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.0001803/0.4224, allocations: 173.6 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.4224, allocations: 35.77 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.4225, allocations: 43.27 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4225, allocations: 4 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4225, allocations: 0 / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4225, allocations: 0 / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.4228, allocations: 237.1 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4228, allocations: 0 / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.423, allocations: 23.98 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.423, allocations: 0 / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.423, allocations: 4 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.423, allocations: 0 / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.423, allocations: 0 / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4234, allocations: 263.1 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.4234, allocations: 35.78 kB / 1.126 GB, free: 9.863 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4235, allocations: 0 / 1.126 GB, free: 9.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.4236, allocations: 4 kB / 1.126 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4236, allocations: 12.17 kB / 1.126 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.4236, allocations: 4.062 kB / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002827/0.4239, allocations: 283.1 kB / 1.126 GB, free: 9.574 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4239, allocations: 0 / 1.126 GB, free: 9.574 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000285/0.4242, allocations: 47.84 kB / 1.126 GB, free: 9.527 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.000124/0.4243, allocations: 97.36 kB / 1.126 GB, free: 9.422 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.4245, allocations: 71.91 kB / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4245, allocations: 0 / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.4246, allocations: 36.11 kB / 1.126 GB, free: 9.316 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.425, allocations: 29.59 kB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4262, allocations: 0.6649 MB / 1.127 GB, free: 8.594 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.4264, allocations: 191 kB / 1.127 GB, free: 8.391 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.4265, allocations: 16.64 kB / 1.127 GB, free: 8.371 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4265, allocations: 12.5 kB / 1.127 GB, free: 8.359 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.4265, allocations: 0 / 1.127 GB, free: 8.359 MB / 1.076 GB Notification: Performance of Templates: time 0.005125/0.4316, allocations: 1.096 MB / 1.128 GB, free: 7.289 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.71043933799956]