Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_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_9_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.0007808/0.0007807, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005713/0.005713, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.44/2.44, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8033, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003143/0.8065, allocations: 1.889 MB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.8094, allocations: 1.317 MB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.8096, allocations: 9.438 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.8105, allocations: 184 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.811, allocations: 114.9 kB / 0.9585 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.8116, allocations: 120 kB / 0.9586 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.8121, allocations: 216.3 kB / 0.9588 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.8123, allocations: 41.14 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.8126, allocations: 89.22 kB / 0.9589 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.8128, allocations: 95.7 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.8129, allocations: 4.312 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.8131, allocations: 41.3 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.8132, allocations: 84.73 kB / 0.9591 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.8134, allocations: 156.1 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.8139, allocations: 339 kB / 0.9596 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8139, allocations: 4 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.614e-06/0.8139, allocations: 0 / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.8139, allocations: 0 / 0.9596 GB, free: 4.203 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001019/0.815, allocations: 0.6184 MB / 0.9602 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.815, allocations: 9.625 kB / 0.9602 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.8152, allocations: 48.98 kB / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.8157, allocations: 354.1 kB / 0.9606 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.8157, allocations: 7.125 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.8157, allocations: 16.05 kB / 0.9606 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.8159, allocations: 75.59 kB / 0.9607 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.816, allocations: 0 / 0.9607 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.816, allocations: 4 kB / 0.9607 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.816, allocations: 1.375 kB / 0.9607 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.8161, allocations: 35.22 kB / 0.9607 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/0.817, allocations: 469 kB / 0.9612 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.8172, allocations: 65.72 kB / 0.9612 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.8173, allocations: 27.47 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.8174, allocations: 5 kB / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.8176, allocations: 73.38 kB / 0.9613 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.8176, allocations: 0 / 0.9613 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004422/0.818, allocations: 144.9 kB / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.8181, allocations: 64.3 kB / 0.9615 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/0.8188, allocations: 0.5282 MB / 0.9621 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.8188, allocations: 27.64 kB / 0.9621 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.819, allocations: 224.2 kB / 0.9623 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.819, allocations: 18.8 kB / 0.9623 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.8191, allocations: 24.23 kB / 0.9623 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8192, allocations: 355.3 kB / 0.9627 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.8193, allocations: 50.94 kB / 0.9627 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.8194, allocations: 75.55 kB / 0.9628 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.8196, allocations: 92.08 kB / 0.9629 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8196, allocations: 0 / 0.9629 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003686/0.82, allocations: 193.2 kB / 0.9631 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.82, allocations: 6.625 kB / 0.9631 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8201, allocations: 1.266 kB / 0.9631 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.8201, allocations: 5.094 kB / 0.9631 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.8202, allocations: 33.14 kB / 0.9631 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.8202, allocations: 1.969 kB / 0.9631 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.8204, allocations: 25.23 kB / 0.9631 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.8204, allocations: 3.562 kB / 0.9632 GB, free: 1.27 MB / 0.7169 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.0001873/0.8206, allocations: 181.4 kB / 0.9633 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.8207, allocations: 38.06 kB / 0.9634 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.597e-05/0.8208, allocations: 47.02 kB / 0.9634 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8208, allocations: 5.312 kB / 0.9634 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8208, allocations: 0 / 0.9634 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8208, allocations: 4 kB / 0.9634 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.8211, allocations: 297.8 kB / 0.9637 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8211, allocations: 0 / 0.9637 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.8211, allocations: 10.91 kB / 0.9637 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8212, allocations: 1.031 kB / 0.9637 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8212, allocations: 1.031 kB / 0.9637 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8212, allocations: 3.938 kB / 0.9637 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8212, allocations: 1.125 kB / 0.9637 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.8214, allocations: 144.7 kB / 0.9639 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.8215, allocations: 120.5 kB / 0.964 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.8216, allocations: 5.953 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.8217, allocations: 17.14 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.8218, allocations: 8.203 kB / 0.964 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.8218, allocations: 3.688 kB / 0.964 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004118/0.8222, allocations: 362.9 kB / 0.9643 GB, free: 324 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8222, allocations: 0 / 0.9643 GB, free: 324 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003039/0.8225, allocations: 47.3 kB / 0.9644 GB, free: 312 kB / 0.7169 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.0009902/0.8235, allocations: 437.7 kB / 0.9648 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.8238, allocations: 84.75 kB / 0.9649 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8238, allocations: 0 / 0.9649 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.8238, allocations: 32.3 kB / 0.9649 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.8242, allocations: 52.11 kB / 0.965 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.8254, allocations: 0.7516 MB / 0.9657 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.8258, allocations: 0.8114 MB / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.78e-05/0.8259, allocations: 33.38 kB / 0.9665 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.826, allocations: 21.42 kB / 0.9666 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.826, allocations: 0 / 0.9666 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.007581/0.8336, allocations: 2.682 MB / 0.9692 GB, free: 13.38 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches