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.001757/0.001757, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002184/0.002184, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.751/2.751, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7943, allocations: 140.4 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003974/0.7983, allocations: 2.485 MB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.799, allocations: 0.5232 MB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.7991, allocations: 2.781 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.7995, allocations: 115.3 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.7997, allocations: 82.39 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.7998, allocations: 33.64 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.8, allocations: 240.3 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.8002, allocations: 99.41 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.8003, allocations: 84 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.8005, allocations: 97.72 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.8005, allocations: 11.53 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.8006, allocations: 17 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.8007, allocations: 76.66 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.8008, allocations: 147 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.801, allocations: 328.6 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.801, allocations: 3.938 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.801, allocations: 0 / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.801, allocations: 0 / 0.9531 GB, free: 5.957 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.0007309/0.8018, allocations: 0.6427 MB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8018, allocations: 13.27 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.8019, allocations: 44.22 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.8022, allocations: 303 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.8022, allocations: 14.56 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.8023, allocations: 14.66 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.8025, allocations: 141 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.8026, allocations: 4.094 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.8026, allocations: 13.27 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8026, allocations: 4.562 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.8028, allocations: 89.05 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.8035, allocations: 0.5879 MB / 0.955 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.8038, allocations: 90.86 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.8039, allocations: 52.14 kB / 0.9551 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.8039, allocations: 5.234 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.804, allocations: 30.56 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.804, allocations: 1.188 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003858/0.8044, allocations: 142.5 kB / 0.9553 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.8044, allocations: 56.55 kB / 0.9553 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.8048, allocations: 392.3 kB / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.8048, allocations: 25.7 kB / 0.9557 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.8049, allocations: 221.6 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.8049, allocations: 35.05 kB / 0.956 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.805, allocations: 20.78 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.805, allocations: 354 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.8051, allocations: 26.23 kB / 0.9563 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.8052, allocations: 55.05 kB / 0.9564 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.8053, allocations: 98.11 kB / 0.9565 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8054, allocations: 0 / 0.9565 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002216/0.8056, allocations: 146.8 kB / 0.9566 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8056, allocations: 5.531 kB / 0.9566 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8056, allocations: 5.156 kB / 0.9566 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8056, allocations: 1.5 kB / 0.9566 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.8058, allocations: 27.89 kB / 0.9567 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8058, allocations: 1.906 kB / 0.9567 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.8059, allocations: 17.48 kB / 0.9567 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.8059, allocations: 3.562 kB / 0.9567 GB, free: 2.977 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.0001202/0.806, allocations: 170.9 kB / 0.9568 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.8061, allocations: 36.12 kB / 0.9569 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.8061, allocations: 41.02 kB / 0.9569 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.8061, allocations: 1.156 kB / 0.9569 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8062, allocations: 0 / 0.9569 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8062, allocations: 1.312 kB / 0.9569 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.8064, allocations: 312.4 kB / 0.9572 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.8065, allocations: 0 / 0.9572 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.8066, allocations: 20.48 kB / 0.9572 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8066, allocations: 4 kB / 0.9572 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.8066, allocations: 1.375 kB / 0.9572 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8066, allocations: 0 / 0.9572 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8066, allocations: 5.359 kB / 0.9573 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.807, allocations: 261.2 kB / 0.9575 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.807, allocations: 109.5 kB / 0.9576 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.8071, allocations: 5.219 kB / 0.9576 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8072, allocations: 10.45 kB / 0.9576 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.8072, allocations: 2.969 kB / 0.9576 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.8072, allocations: 2.906 kB / 0.9576 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002486/0.8075, allocations: 280.9 kB / 0.9579 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8075, allocations: 0 / 0.9579 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002876/0.8078, allocations: 46.5 kB / 0.9579 GB, free: 1.953 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.0001173/0.8079, allocations: 108.9 kB / 0.958 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.8081, allocations: 70.33 kB / 0.9581 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8082, allocations: 0 / 0.9581 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.8082, allocations: 40.98 kB / 0.9581 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.8087, allocations: 21.27 kB / 0.9582 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8097, allocations: 0.7673 MB / 0.9589 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.81, allocations: 0.8008 MB / 0.9597 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.513e-05/0.8101, allocations: 6.75 kB / 0.9597 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.8101, allocations: 17 kB / 0.9597 GB, free: 492 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8101, allocations: 0 / 0.9597 GB, free: 492 kB / 0.7169 GB Notification: Performance of Templates: time 0.004377/0.8145, allocations: 1.181 MB / 0.9609 GB, free: 15.89 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