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.00137/0.00137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001527/0.001527, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.421/2.421, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001299, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8026, allocations: 140.4 MB / 0.9491 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004575/0.8073, allocations: 2.232 MB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.8095, allocations: 1.347 MB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.8097, allocations: 0.8125 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.8104, allocations: 188.6 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.8107, allocations: 108.4 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.8111, allocations: 129.2 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.8115, allocations: 230.7 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.8116, allocations: 46.78 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.8118, allocations: 98.41 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.8119, allocations: 106.4 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.812, allocations: 11.31 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.8122, allocations: 57.53 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.8123, allocations: 92.38 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.8124, allocations: 140.2 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.8129, allocations: 350.2 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8129, allocations: 0 / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8129, allocations: 1.438 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.813, allocations: 0 / 0.9541 GB, free: 5.375 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.001041/0.814, allocations: 0.6742 MB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.8141, allocations: 9.875 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.8142, allocations: 47.58 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.8146, allocations: 354.5 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.8147, allocations: 3.719 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.8147, allocations: 7.812 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.8149, allocations: 79.16 kB / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8149, allocations: 0 / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.8149, allocations: 5.156 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.815, allocations: 1.188 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.8151, allocations: 38.59 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.8158, allocations: 458.2 kB / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.816, allocations: 74.47 kB / 0.9558 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.8161, allocations: 23 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.8161, allocations: 5.531 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.8163, allocations: 80.31 kB / 0.9559 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.8163, allocations: 0 / 0.9559 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004069/0.8167, allocations: 141.9 kB / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.8168, allocations: 55.34 kB / 0.9561 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.8174, allocations: 0.5326 MB / 0.9566 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.8174, allocations: 31.48 kB / 0.9566 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.8176, allocations: 216.2 kB / 0.9568 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.8176, allocations: 18.45 kB / 0.9568 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.8177, allocations: 41.55 kB / 0.9569 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.8178, allocations: 355.2 kB / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.8179, allocations: 59.41 kB / 0.9573 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.818, allocations: 71.55 kB / 0.9573 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.8181, allocations: 87.94 kB / 0.9574 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8182, allocations: 0 / 0.9574 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003078/0.8185, allocations: 199.1 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.8185, allocations: 6.516 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8185, allocations: 8.656 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8185, allocations: 2.438 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.8187, allocations: 24.98 kB / 0.9577 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8187, allocations: 1.188 kB / 0.9577 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.8188, allocations: 19.58 kB / 0.9577 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.8189, allocations: 7.719 kB / 0.9577 GB, free: 2.402 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.0001789/0.819, allocations: 175.9 kB / 0.9579 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.8191, allocations: 46.06 kB / 0.9579 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/0.8192, allocations: 51.52 kB / 0.9579 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8192, allocations: 5.031 kB / 0.9579 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8192, allocations: 4 kB / 0.958 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8192, allocations: 0 / 0.958 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.8195, allocations: 296.6 kB / 0.9582 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8195, allocations: 1.969 kB / 0.9582 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.8196, allocations: 1.875 kB / 0.9582 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.8196, allocations: 1.875 kB / 0.9582 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.8196, allocations: 3.984 kB / 0.9582 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8196, allocations: 5.844 kB / 0.9582 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8196, allocations: 4 kB / 0.9583 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.8198, allocations: 151.9 kB / 0.9584 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.8199, allocations: 112.4 kB / 0.9585 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.82, allocations: 2.188 kB / 0.9585 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.8201, allocations: 15.05 kB / 0.9585 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.8201, allocations: 9.453 kB / 0.9585 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.8202, allocations: 2.281 kB / 0.9585 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004187/0.8206, allocations: 367.5 kB / 0.9589 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8206, allocations: 0 / 0.9589 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002807/0.8209, allocations: 47.73 kB / 0.9589 GB, free: 1.43 MB / 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.00119/0.8221, allocations: 426.7 kB / 0.9593 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.8224, allocations: 95.73 kB / 0.9594 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8224, allocations: 0 / 0.9594 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.8225, allocations: 28.47 kB / 0.9595 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.8229, allocations: 62.03 kB / 0.9595 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.8242, allocations: 0.7262 MB / 0.9602 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.8246, allocations: 0.8186 MB / 0.961 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.8247, allocations: 25.44 kB / 0.961 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.8248, allocations: 22.08 kB / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8248, allocations: 0 / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.00893/0.8337, allocations: 2.799 MB / 0.9638 GB, free: 14.47 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