Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 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.00127/0.00127, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.496/2.496, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7263, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003704/0.73, allocations: 2.433 MB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.7321, allocations: 1.509 MB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.7323, allocations: 7.812 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.733, allocations: 236.1 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.7334, allocations: 152.4 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.7339, allocations: 188.9 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.7342, allocations: 348.3 kB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.7344, allocations: 90.47 kB / 0.9544 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.7346, allocations: 135.8 kB / 0.9545 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.7347, allocations: 154.3 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.7348, allocations: 22.66 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.735, allocations: 68 kB / 0.9548 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7351, allocations: 124.2 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.7352, allocations: 192 kB / 0.9551 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.7357, allocations: 0.4931 MB / 0.9555 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7357, allocations: 0 / 0.9555 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.506e-06/0.7357, allocations: 1.188 kB / 0.9555 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7357, allocations: 3.938 kB / 0.9556 GB, free: 4.539 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001045/0.7368, allocations: 0.7988 MB / 0.9563 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7368, allocations: 9.438 kB / 0.9563 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.7369, allocations: 59.22 kB / 0.9564 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.7374, allocations: 421.1 kB / 0.9568 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.7374, allocations: 10.72 kB / 0.9568 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.7374, allocations: 25.64 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.7377, allocations: 129.3 kB / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7377, allocations: 3.938 kB / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.7377, allocations: 5.25 kB / 0.957 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7377, allocations: 3.219 kB / 0.957 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.7379, allocations: 86.62 kB / 0.9571 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.739, allocations: 0.6412 MB / 0.9577 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.7394, allocations: 145.1 kB / 0.9578 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.7395, allocations: 49.28 kB / 0.9579 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.7396, allocations: 1.562 kB / 0.9579 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.7398, allocations: 105.3 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.7398, allocations: 0 / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005368/0.7404, allocations: 217.1 kB / 0.9582 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.7404, allocations: 53.62 kB / 0.9582 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.7413, allocations: 0.6499 MB / 0.9589 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.7413, allocations: 32.05 kB / 0.9589 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.7415, allocations: 255.4 kB / 0.9591 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.7415, allocations: 37 kB / 0.9592 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.7416, allocations: 54.91 kB / 0.9592 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7418, allocations: 366.8 kB / 0.9596 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.7419, allocations: 87.45 kB / 0.9597 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.7421, allocations: 107.8 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.7424, allocations: 135 kB / 0.9599 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7424, allocations: 0 / 0.9599 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004498/0.7429, allocations: 274.7 kB / 0.9601 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7429, allocations: 6.75 kB / 0.9602 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.7429, allocations: 4 kB / 0.9602 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.7429, allocations: 2.188 kB / 0.9602 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.7431, allocations: 41.16 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7431, allocations: 1 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7433, allocations: 27.98 kB / 0.9602 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.7434, allocations: 10.42 kB / 0.9602 GB, free: 0.9531 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: 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.0002043/0.7436, allocations: 211.1 kB / 0.9604 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.7436, allocations: 55.25 kB / 0.9605 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.7438, allocations: 56.09 kB / 0.9605 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.7438, allocations: 1.062 kB / 0.9605 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7438, allocations: 5.062 kB / 0.9605 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7438, allocations: 3.984 kB / 0.9606 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.7441, allocations: 372.2 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7441, allocations: 0 / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.7442, allocations: 7.438 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7442, allocations: 1.094 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.7442, allocations: 2 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7443, allocations: 4 kB / 0.9609 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7443, allocations: 1.062 kB / 0.9609 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.7447, allocations: 261.1 kB / 0.9612 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.7448, allocations: 132.4 kB / 0.9613 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.7449, allocations: 6.219 kB / 0.9613 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.745, allocations: 19.58 kB / 0.9613 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.7451, allocations: 26.44 kB / 0.9613 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.7451, allocations: 3.594 kB / 0.9614 GB, free: 44 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005812/0.7457, allocations: 428.3 kB / 0.9618 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.9618 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003459/0.7461, allocations: 63.61 kB / 0.9618 GB, free: 15.79 MB / 0.7325 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001153/0.7472, allocations: 421.1 kB / 0.9622 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.7476, allocations: 174.2 kB / 0.9624 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7476, allocations: 0 / 0.9624 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.7478, allocations: 55.27 kB / 0.9624 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.7483, allocations: 80.22 kB / 0.9625 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.7499, allocations: 0.8374 MB / 0.9633 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.7505, allocations: 0.8615 MB / 0.9642 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.7506, allocations: 38.58 kB / 0.9642 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.7507, allocations: 33.08 kB / 0.9642 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.545e-06/0.7507, allocations: 0 / 0.9642 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.01011/0.7608, allocations: 4.011 MB / 0.9682 GB, free: 12.15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches