Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, 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.001655/0.001655, allocations: 198.8 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.063/3.063, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.8692 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7903, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003897/0.7943, allocations: 2.189 MB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.7965, allocations: 1.386 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.7966, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.7973, allocations: 183.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.7976, allocations: 135.4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.798, allocations: 141.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.7983, allocations: 227.1 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.7985, allocations: 38.38 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.7986, allocations: 91.56 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.7988, allocations: 103.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.7988, allocations: 8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.799, allocations: 55.97 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.7991, allocations: 87.62 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.7992, allocations: 142.9 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.7996, allocations: 354.6 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7996, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7996, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7997, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009614/0.8006, allocations: 0.6686 MB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8007, allocations: 8.031 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.8008, allocations: 48.31 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.8013, allocations: 364.1 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.8013, allocations: 4.375 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.8013, allocations: 15.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.8016, allocations: 73.66 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.8016, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.8016, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.8016, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.8017, allocations: 31.98 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.8024, allocations: 464.4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.8026, allocations: 66.67 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.8027, allocations: 28.84 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.8027, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.8029, allocations: 83.33 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.8029, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003239/0.8032, allocations: 137.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.8033, allocations: 55.34 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.8039, allocations: 0.5332 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.8039, allocations: 25.7 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.8041, allocations: 224.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.8041, allocations: 23.75 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.8042, allocations: 45.64 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.8044, allocations: 354.8 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.8045, allocations: 48.23 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.8047, allocations: 74.55 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.8049, allocations: 103.8 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8049, allocations: 0 / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002926/0.8052, allocations: 193 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8052, allocations: 5.25 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8052, allocations: 4 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8052, allocations: 0 / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8053, allocations: 23.92 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8054, allocations: 7.938 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.8055, allocations: 15.84 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.8055, allocations: 12.02 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001645/0.8057, allocations: 177.8 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.8057, allocations: 43.53 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.8058, allocations: 39.8 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8058, allocations: 7.938 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8058, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8058, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.8061, allocations: 297.5 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8061, allocations: 3.938 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.8061, allocations: 8 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8061, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8061, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.8062, allocations: 3.938 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8062, allocations: 3.938 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.8064, allocations: 148.5 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.8065, allocations: 120.5 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.8065, allocations: 8 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.8066, allocations: 15.92 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.8067, allocations: 7.984 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8067, allocations: 4 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003534/0.807, allocations: 362.8 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/0.807, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002524/0.8073, allocations: 47.94 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009916/0.8083, allocations: 433.2 kB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.8086, allocations: 95.91 kB / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8086, allocations: 0 / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.8087, allocations: 31.92 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.809, allocations: 50.5 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.81, allocations: 0.6483 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.8106, allocations: 0.8189 MB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.8107, allocations: 25.55 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.8108, allocations: 23.42 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8108, allocations: 0 / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.007095/0.8179, allocations: 2.858 MB / 1.032 GB, free: 3.168 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches