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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008201/0.008201, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 196.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.98/2.98, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.12 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3965, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004003/0.4006, allocations: 2.444 MB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.4014, allocations: 0.5315 MB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.4015, allocations: 0 / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.4019, allocations: 139.4 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.4021, allocations: 83.3 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.4023, allocations: 43.94 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.4025, allocations: 250.6 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.4028, allocations: 111 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.4029, allocations: 83.66 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.4031, allocations: 99.5 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.4031, allocations: 20 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.73e-05/0.4032, allocations: 16 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.4033, allocations: 87.69 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4034, allocations: 155 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.4037, allocations: 342.6 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4038, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4038, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.4038, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 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.0008757/0.4047, allocations: 0.6456 MB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4047, allocations: 12.62 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.4048, allocations: 44.38 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.4052, allocations: 298.2 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4052, allocations: 16.38 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.4053, allocations: 16.31 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.4055, allocations: 139.5 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4056, allocations: 192 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4056, allocations: 11.94 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4056, allocations: 4 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4058, allocations: 95.95 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.4066, allocations: 0.5819 MB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.4069, allocations: 94.55 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.407, allocations: 48.88 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.407, allocations: 4 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.407, allocations: 34.55 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.407, allocations: 0 / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003776/0.4074, allocations: 145.1 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4075, allocations: 59.34 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.4078, allocations: 394 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4079, allocations: 25.7 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.408, allocations: 215.9 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.408, allocations: 27.56 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.4081, allocations: 29.7 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4082, allocations: 354.7 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/0.4083, allocations: 20 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.4084, allocations: 67.34 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4086, allocations: 83.73 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4086, allocations: 0 / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002522/0.4088, allocations: 157.1 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4089, allocations: 5.406 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.4089, allocations: 0 / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4089, allocations: 4 kB / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.409, allocations: 23.98 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.409, allocations: 0 / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.4091, allocations: 15.84 kB / 1.216 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4091, allocations: 7.984 kB / 1.216 GB, free: 1.348 MB / 0.9669 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.0001528/0.4093, allocations: 169.8 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4093, allocations: 35.53 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.4094, allocations: 43.2 kB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4094, allocations: 0 / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4094, allocations: 0 / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4094, allocations: 0 / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.4097, allocations: 309.5 kB / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4097, allocations: 0 / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4099, allocations: 19.98 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4099, allocations: 0 / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4099, allocations: 4 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4099, allocations: 4 kB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4099, allocations: 0 / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.4103, allocations: 258.9 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.4104, allocations: 104.8 kB / 1.216 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4104, allocations: 3.984 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.4105, allocations: 8 kB / 1.216 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4106, allocations: 11.94 kB / 1.216 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.4106, allocations: 4 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002548/0.4108, allocations: 283.3 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4108, allocations: 0 / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002929/0.4111, allocations: 47.77 kB / 1.217 GB, free: 15.96 MB / 0.9825 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.0001435/0.4113, allocations: 107.2 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4115, allocations: 63.92 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4115, allocations: 4.188 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.4116, allocations: 35.92 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.412, allocations: 25.55 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.4131, allocations: 0.6684 MB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4135, allocations: 0.7942 MB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.4136, allocations: 8.656 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.4136, allocations: 15.44 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4136, allocations: 0 / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.00455/0.4182, allocations: 1.302 MB / 1.22 GB, free: 12.91 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches