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.007325/0.007325, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001533/0.001533, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.44 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3675, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004222/0.3718, allocations: 2.458 MB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.3727, allocations: 0.5276 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.3728, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.3733, allocations: 136.3 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.3735, allocations: 95.27 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.3736, allocations: 39.97 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.3739, allocations: 242.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.3742, allocations: 115.1 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.3743, allocations: 79.67 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.3745, allocations: 99.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.3745, allocations: 16 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.3745, allocations: 20 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3747, allocations: 83.69 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3748, allocations: 155 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.3752, allocations: 346.4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3752, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3753, allocations: 3.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3753, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 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.0009275/0.3762, allocations: 0.6568 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3762, allocations: 12.03 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.3763, allocations: 52.61 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3767, allocations: 306.5 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3768, allocations: 12.38 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3768, allocations: 12.38 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.3771, allocations: 141.9 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3771, allocations: 192 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.3772, allocations: 7.938 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3772, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.3774, allocations: 95.7 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.3783, allocations: 0.586 MB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3786, allocations: 86.56 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3787, allocations: 48.89 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3788, allocations: 11.92 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3788, allocations: 34.56 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3788, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003757/0.3792, allocations: 149.3 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3792, allocations: 51.41 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3797, allocations: 390 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3797, allocations: 33.7 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3799, allocations: 216.2 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.3799, allocations: 35.7 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3799, allocations: 25.7 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3801, allocations: 354.7 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.3802, allocations: 24 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3803, allocations: 67.34 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.3805, allocations: 87.36 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3806, allocations: 0 / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.3808, allocations: 153.4 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3808, allocations: 4 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3808, allocations: 0 / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3809, allocations: 4 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.381, allocations: 23.98 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.381, allocations: 0 / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.3811, allocations: 11.94 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3811, allocations: 4 kB / 1.096 GB, free: 9.125 MB / 0.8575 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.0001527/0.3813, allocations: 165.7 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.3813, allocations: 47.73 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.3814, allocations: 39.69 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3814, allocations: 0 / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3814, allocations: 0 / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3814, allocations: 0 / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.3818, allocations: 313.4 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3818, allocations: 3.938 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3819, allocations: 19.98 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3819, allocations: 0 / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3819, allocations: 4 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.382, allocations: 0 / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.382, allocations: 4 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.3823, allocations: 263.1 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3825, allocations: 116.8 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.3825, allocations: 4 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.3826, allocations: 4 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3826, allocations: 0 / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3827, allocations: 15.98 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002635/0.3829, allocations: 275.1 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3829, allocations: 0 / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002706/0.3832, allocations: 43.89 kB / 1.097 GB, free: 7.734 MB / 0.8575 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.0001459/0.3834, allocations: 107.8 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3836, allocations: 67.91 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3836, allocations: 192 / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.3837, allocations: 39.94 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3841, allocations: 29.95 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3852, allocations: 0.6601 MB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3856, allocations: 0.7942 MB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.3856, allocations: 16.64 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.3857, allocations: 11.44 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3857, allocations: 0 / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.004873/0.3906, allocations: 1.283 MB / 1.1 GB, free: 4.68 MB / 0.8575 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