Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001562/0.001562, allocations: 111.3 kB / 17.08 MB, free: 5.785 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.001658/0.001658, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003765/0.3036, allocations: 2.446 MB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.3045, allocations: 0.5392 MB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.3046, allocations: 4 kB / 1.179 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.305, allocations: 123.5 kB / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3052, allocations: 91.27 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3053, allocations: 43.89 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.3056, allocations: 242.8 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.3058, allocations: 107.1 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.306, allocations: 83.67 kB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3061, allocations: 95.5 kB / 1.18 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.3062, allocations: 20 kB / 1.18 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.3062, allocations: 20 kB / 1.18 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3063, allocations: 91.56 kB / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3065, allocations: 159 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.3069, allocations: 338.4 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3069, allocations: 4 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3069, allocations: 0 / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3069, allocations: 0 / 1.18 GB, free: 1.441 MB / 0.92 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.0008889/0.3078, allocations: 0.6609 MB / 1.181 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3078, allocations: 12.03 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.3079, allocations: 44.66 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3083, allocations: 302.5 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3083, allocations: 12.38 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.3084, allocations: 16.38 kB / 1.181 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.3087, allocations: 141.9 kB / 1.181 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3087, allocations: 4.125 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3087, allocations: 15.94 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3087, allocations: 8 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.309, allocations: 87.95 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.3098, allocations: 0.5821 MB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.3101, allocations: 90.61 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3102, allocations: 52.88 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3103, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3103, allocations: 34.5 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.3103, allocations: 0 / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003837/0.3107, allocations: 149.4 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3107, allocations: 51.41 kB / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.3112, allocations: 394 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3112, allocations: 29.64 kB / 1.183 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3114, allocations: 220.2 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3114, allocations: 27.75 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3115, allocations: 29.7 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3117, allocations: 350.7 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.3117, allocations: 28.36 kB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3119, allocations: 55.42 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.312, allocations: 87.3 kB / 1.183 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3121, allocations: 4 kB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002668/0.3123, allocations: 153.3 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3124, allocations: 6.188 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3124, allocations: 4 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3124, allocations: 0 / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3125, allocations: 27.92 kB / 1.184 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3125, allocations: 0 / 1.184 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.3126, allocations: 11.89 kB / 1.184 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3126, allocations: 4 kB / 1.184 GB, free: 13.55 MB / 0.9356 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.0001734/0.3128, allocations: 173.8 kB / 1.184 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.3129, allocations: 35.77 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3129, allocations: 35.22 kB / 1.184 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3129, allocations: 4 kB / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.313, allocations: 0 / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.313, allocations: 0 / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3133, allocations: 313.5 kB / 1.184 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3133, allocations: 0 / 1.184 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3135, allocations: 23.92 kB / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3135, allocations: 0 / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3135, allocations: 4 kB / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3135, allocations: 0 / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3135, allocations: 0 / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3139, allocations: 267.1 kB / 1.185 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.314, allocations: 120.8 kB / 1.185 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.314, allocations: 4 kB / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.3141, allocations: 0 / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.3142, allocations: 16.05 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3142, allocations: 0 / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000301/0.3145, allocations: 283.1 kB / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3145, allocations: 0 / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002819/0.3148, allocations: 51.83 kB / 1.185 GB, free: 12.15 MB / 0.9356 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.0001374/0.3149, allocations: 96.8 kB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3152, allocations: 79.84 kB / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3152, allocations: 4.188 kB / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.3153, allocations: 31.98 kB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3157, allocations: 23.8 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3169, allocations: 0.7007 MB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.3174, allocations: 0.7949 MB / 1.187 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3174, allocations: 15.44 kB / 1.187 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of SimCode: time 2.505e-06/0.3174, allocations: 4 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.00525/0.3227, allocations: 2.998 MB / 1.19 GB, free: 7.371 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.455323097994551]