Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007975/0.0007975, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008066/0.0008066, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.508e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004289/0.004324, allocations: 2.378 MB / 0.9541 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.00691, allocations: 1.556 MB / 0.9556 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.007134, allocations: 7.938 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.00783, allocations: 218.8 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.008325, allocations: 202.9 kB / 0.956 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.008659, allocations: 167.4 kB / 0.9562 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.009098, allocations: 374.7 kB / 0.9565 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.009296, allocations: 56.89 kB / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.009535, allocations: 191.5 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.009722, allocations: 127.6 kB / 0.9569 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.009765, allocations: 24 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.009902, allocations: 63.91 kB / 0.957 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.01003, allocations: 135.5 kB / 0.9571 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.01015, allocations: 99.58 kB / 0.9572 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.01071, allocations: 0.5021 MB / 0.9577 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01071, allocations: 0 / 0.9577 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01071, allocations: 3.938 kB / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.01072, allocations: 0 / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001092/0.01181, allocations: 0.7522 MB / 0.9584 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01185, allocations: 8.031 kB / 0.9584 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.01196, allocations: 60.56 kB / 0.9585 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.01247, allocations: 374.7 kB / 0.9588 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.01249, allocations: 8.375 kB / 0.9588 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.01253, allocations: 16.38 kB / 0.9589 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.01282, allocations: 193.3 kB / 0.959 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01283, allocations: 0 / 0.959 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.01285, allocations: 4 kB / 0.959 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01286, allocations: 4 kB / 0.959 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.01304, allocations: 83.95 kB / 0.9591 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.01389, allocations: 0.5311 MB / 0.9596 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.01418, allocations: 134.6 kB / 0.9598 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.01426, allocations: 48.81 kB / 0.9598 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01429, allocations: 4 kB / 0.9598 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.0145, allocations: 154.7 kB / 0.96 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 4.639e-06/0.01451, allocations: 4 kB / 0.96 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0004202/0.01493, allocations: 217.1 kB / 0.9602 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.01496, allocations: 51.41 kB / 0.9602 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/0.01573, allocations: 0.6681 MB / 0.9609 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01576, allocations: 33.7 kB / 0.9609 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.01595, allocations: 260.5 kB / 0.9612 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.01599, allocations: 35.69 kB / 0.9612 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.01607, allocations: 57.69 kB / 0.9612 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.0162, allocations: 370.8 kB / 0.9616 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01633, allocations: 71.97 kB / 0.9617 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.01651, allocations: 172.5 kB / 0.9618 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.01671, allocations: 128.3 kB / 0.962 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01671, allocations: 0 / 0.962 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003836/0.0171, allocations: 277.1 kB / 0.9622 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.01712, allocations: 10.12 kB / 0.9622 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01712, allocations: 0 / 0.9622 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01714, allocations: 7.984 kB / 0.9622 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01731, allocations: 31.98 kB / 0.9623 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01731, allocations: 4 kB / 0.9623 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01745, allocations: 31.94 kB / 0.9623 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.01747, allocations: 11.98 kB / 0.9623 GB, free: 7.875 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001964/0.01767, allocations: 201.7 kB / 0.9625 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.01773, allocations: 63.5 kB / 0.9626 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.01805, allocations: 198.4 kB / 0.9628 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01805, allocations: 0 / 0.9628 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01806, allocations: 0 / 0.9628 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01806, allocations: 4 kB / 0.9628 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.01833, allocations: 293.1 kB / 0.963 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01833, allocations: 0 / 0.963 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.0184, allocations: 8 kB / 0.963 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.0184, allocations: 3.938 kB / 0.9631 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.01842, allocations: 15.92 kB / 0.9631 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01842, allocations: 0 / 0.9631 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01842, allocations: 0 / 0.9631 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.01881, allocations: 271.9 kB / 0.9633 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.01888, allocations: 55.66 kB / 0.9634 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.01892, allocations: 7.938 kB / 0.9634 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.01902, allocations: 16.05 kB / 0.9634 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.0191, allocations: 23.95 kB / 0.9634 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.01911, allocations: 8 kB / 0.9634 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004586/0.01957, allocations: 447 kB / 0.9639 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.01957, allocations: 0 / 0.9639 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003308/0.0199, allocations: 63.89 kB / 0.9639 GB, free: 6.172 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001034/0.02093, allocations: 457.1 kB / 0.9644 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.02125, allocations: 143.9 kB / 0.9645 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02125, allocations: 0 / 0.9645 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.02135, allocations: 55.91 kB / 0.9645 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.02174, allocations: 85.39 kB / 0.9646 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.02294, allocations: 0.8746 MB / 0.9655 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.02318, allocations: 261.5 kB / 0.9657 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.02326, allocations: 36.48 kB / 0.9658 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.02326, allocations: 0 / 0.9658 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of Templates: time 0.006214/0.02948, allocations: 5.725 MB / 0.9714 GB, free: 14.71 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.831778451800346]