Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_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_9_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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001311/0.001311, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6976, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004039/0.7017, allocations: 2.494 MB / 0.9515 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.7026, allocations: 0.5163 MB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.7028, allocations: 2.594 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.7032, allocations: 116.5 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.7034, allocations: 86.08 kB / 0.9522 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.7035, allocations: 37.64 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.7039, allocations: 242.7 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.7041, allocations: 116.2 kB / 0.9526 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.7043, allocations: 83.88 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.7045, allocations: 101.8 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.7045, allocations: 22.97 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.7046, allocations: 18.91 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.7047, allocations: 85.81 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.7049, allocations: 150 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.7052, allocations: 344.6 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7052, allocations: 0 / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7052, allocations: 1.219 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.7053, allocations: 4 kB / 0.9534 GB, free: 5.797 MB / 0.7169 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.0008898/0.7061, allocations: 0.6379 MB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.7062, allocations: 10.25 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.7063, allocations: 43.88 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.7067, allocations: 303.5 kB / 0.9544 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.7067, allocations: 13.5 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.7067, allocations: 14.59 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.707, allocations: 145.6 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.7071, allocations: 4.094 kB / 0.9545 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.7071, allocations: 13.12 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.7071, allocations: 3.562 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.7073, allocations: 93.92 kB / 0.9546 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.7081, allocations: 0.5803 MB / 0.9552 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.7084, allocations: 91.52 kB / 0.9553 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7085, allocations: 46.61 kB / 0.9553 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.7085, allocations: 5.078 kB / 0.9553 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.7086, allocations: 39.97 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.7086, allocations: 0 / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003604/0.7089, allocations: 147.2 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.709, allocations: 56.97 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.7093, allocations: 389 kB / 0.9559 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7093, allocations: 25.7 kB / 0.956 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.7095, allocations: 223 kB / 0.9562 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.7095, allocations: 34.73 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.7095, allocations: 29.73 kB / 0.9562 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.7096, allocations: 345.3 kB / 0.9566 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.7097, allocations: 29.8 kB / 0.9566 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.7098, allocations: 57.25 kB / 0.9566 GB, free: 3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.71, allocations: 93.11 kB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.71, allocations: 1.375 kB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000278/0.7103, allocations: 150.3 kB / 0.9569 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.7103, allocations: 5.531 kB / 0.9569 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7103, allocations: 1.094 kB / 0.9569 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.7104, allocations: 1.219 kB / 0.9569 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.7105, allocations: 27.86 kB / 0.9569 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7105, allocations: 1.125 kB / 0.9569 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.484e-05/0.7106, allocations: 9.75 kB / 0.9569 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7106, allocations: 7.625 kB / 0.9569 GB, free: 2.82 MB / 0.7169 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.0001417/0.7108, allocations: 164.3 kB / 0.9571 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.7108, allocations: 38.23 kB / 0.9571 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.7109, allocations: 38.5 kB / 0.9572 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7109, allocations: 5.094 kB / 0.9572 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7109, allocations: 0 / 0.9572 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7109, allocations: 1.219 kB / 0.9572 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.7112, allocations: 316.2 kB / 0.9575 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7113, allocations: 0 / 0.9575 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7114, allocations: 28.45 kB / 0.9575 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7114, allocations: 0 / 0.9575 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.7114, allocations: 5.5 kB / 0.9575 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7114, allocations: 0 / 0.9575 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7114, allocations: 1.094 kB / 0.9575 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.7118, allocations: 258.3 kB / 0.9578 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.7119, allocations: 112.7 kB / 0.9579 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.7119, allocations: 9.594 kB / 0.9579 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.712, allocations: 3.125 kB / 0.9579 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.712, allocations: 7.047 kB / 0.9579 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.7121, allocations: 5.469 kB / 0.9579 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002532/0.7123, allocations: 273.9 kB / 0.9581 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.9581 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003072/0.7126, allocations: 54.17 kB / 0.9582 GB, free: 1.789 MB / 0.7169 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.0001307/0.7128, allocations: 97.12 kB / 0.9583 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.713, allocations: 82.47 kB / 0.9584 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.713, allocations: 0 / 0.9584 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.7131, allocations: 36.55 kB / 0.9584 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.7135, allocations: 24.2 kB / 0.9584 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.7147, allocations: 0.7654 MB / 0.9592 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.715, allocations: 0.7998 MB / 0.96 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.103e-05/0.7151, allocations: 14.67 kB / 0.96 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.7151, allocations: 14.09 kB / 0.96 GB, free: 328 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7151, allocations: 0 / 0.96 GB, free: 328 kB / 0.7169 GB Notification: Performance of Templates: time 0.005042/0.7202, allocations: 1.231 MB / 0.9612 GB, free: 15.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches