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.0014/0.0014, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.43/2.43, allocations: 390.2 MB / 0.6647 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7842, allocations: 140.4 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003457/0.7877, allocations: 2.433 MB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.7885, allocations: 0.5422 MB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.7886, allocations: 4.219 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.789, allocations: 123.1 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.7892, allocations: 89.58 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.7893, allocations: 45.86 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.7896, allocations: 235.5 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.7899, allocations: 119.2 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.7901, allocations: 84.7 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.7902, allocations: 102.1 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.7903, allocations: 18.28 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.635e-05/0.7904, allocations: 18.5 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.7905, allocations: 81.41 kB / 0.9534 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.7906, allocations: 158.4 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.791, allocations: 336.7 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.791, allocations: 1.5 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.474e-06/0.791, allocations: 0 / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.7911, allocations: 0 / 0.9538 GB, free: 5.777 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.0009533/0.792, allocations: 0.6416 MB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.7921, allocations: 9.312 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.7922, allocations: 44.53 kB / 0.9545 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.7925, allocations: 303.8 kB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.7926, allocations: 17.97 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.7926, allocations: 18.31 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.7929, allocations: 145.2 kB / 0.955 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.793, allocations: 4.094 kB / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.793, allocations: 13.05 kB / 0.955 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.793, allocations: 4.938 kB / 0.955 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.7933, allocations: 88.48 kB / 0.9551 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.7942, allocations: 0.5889 MB / 0.9557 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.7944, allocations: 87.44 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.7945, allocations: 55.81 kB / 0.9558 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.7946, allocations: 0 / 0.9558 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.7946, allocations: 31.75 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.7946, allocations: 1.5 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003448/0.7949, allocations: 141.2 kB / 0.956 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.795, allocations: 52.59 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.7953, allocations: 394.2 kB / 0.9564 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.7953, allocations: 27.11 kB / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.7955, allocations: 220.7 kB / 0.9566 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.7955, allocations: 32.22 kB / 0.9567 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.7956, allocations: 25.73 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.7956, allocations: 353.3 kB / 0.957 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.7957, allocations: 24.58 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.7958, allocations: 57.33 kB / 0.9571 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.7959, allocations: 93.7 kB / 0.9572 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.796, allocations: 1.781 kB / 0.9572 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000226/0.7962, allocations: 150.3 kB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7962, allocations: 6.594 kB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7962, allocations: 1.375 kB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7962, allocations: 1.375 kB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.7964, allocations: 27.17 kB / 0.9574 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7964, allocations: 6.734 kB / 0.9574 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.7965, allocations: 6.75 kB / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.7965, allocations: 4.125 kB / 0.9574 GB, free: 2.801 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.0001314/0.7966, allocations: 175.9 kB / 0.9576 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.7967, allocations: 38.59 kB / 0.9576 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.7967, allocations: 38.34 kB / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7967, allocations: 0 / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7968, allocations: 1.375 kB / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7968, allocations: 0 / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.7971, allocations: 312.8 kB / 0.9579 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7971, allocations: 4 kB / 0.9579 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7972, allocations: 20.33 kB / 0.958 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7972, allocations: 3.984 kB / 0.958 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.7972, allocations: 1.344 kB / 0.958 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7973, allocations: 5.344 kB / 0.958 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7973, allocations: 0 / 0.958 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.7976, allocations: 258.4 kB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.7977, allocations: 113.4 kB / 0.9583 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.7977, allocations: 1.375 kB / 0.9583 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.7978, allocations: 4.75 kB / 0.9583 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.7979, allocations: 11.3 kB / 0.9583 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.7979, allocations: 2.469 kB / 0.9583 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000268/0.7982, allocations: 281.5 kB / 0.9586 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7982, allocations: 0 / 0.9586 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002974/0.7985, allocations: 50.31 kB / 0.9587 GB, free: 1.762 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.0001579/0.7986, allocations: 107.3 kB / 0.9588 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.7989, allocations: 74.34 kB / 0.9588 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7989, allocations: 4.188 kB / 0.9588 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.799, allocations: 35.95 kB / 0.9589 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.7995, allocations: 22.25 kB / 0.9589 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.8006, allocations: 0.6586 MB / 0.9595 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.8008, allocations: 0.7987 MB / 0.9603 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.234e-05/0.8009, allocations: 10.36 kB / 0.9603 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.8009, allocations: 13.78 kB / 0.9603 GB, free: 412 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.801, allocations: 4 kB / 0.9603 GB, free: 408 kB / 0.7169 GB Notification: Performance of Templates: time 0.004841/0.8058, allocations: 1.251 MB / 0.9616 GB, free: 15.77 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