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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001137, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001283/0.001283, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003138, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.728, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002729/0.7308, allocations: 2.048 MB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.7328, allocations: 1.382 MB / 0.9572 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.733, allocations: 7.75 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.7335, allocations: 209.6 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.7338, allocations: 123.8 kB / 0.9575 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.7342, allocations: 141.5 kB / 0.9577 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.7345, allocations: 298.5 kB / 0.9579 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.7347, allocations: 71.75 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.7349, allocations: 115.4 kB / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.735, allocations: 132.3 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.7351, allocations: 5.5 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.7352, allocations: 47.47 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.7353, allocations: 110.3 kB / 0.9584 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.7354, allocations: 97.95 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.7357, allocations: 381.2 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7357, allocations: 0 / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7357, allocations: 1.25 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.7357, allocations: 0 / 0.9589 GB, free: 4.316 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.0009156/0.7367, allocations: 0.7289 MB / 0.9596 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7367, allocations: 13.06 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.7368, allocations: 47.27 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.7368, allocations: 61.77 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.7373, allocations: 401.4 kB / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7373, allocations: 14.27 kB / 0.9601 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.7373, allocations: 17.19 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.7376, allocations: 134.7 kB / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7376, allocations: 0 / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7376, allocations: 5.375 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.7376, allocations: 6.703 kB / 0.9602 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.7378, allocations: 82.58 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.7387, allocations: 0.6572 MB / 0.961 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.739, allocations: 131.5 kB / 0.9611 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.7391, allocations: 46.66 kB / 0.9611 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.7392, allocations: 1.125 kB / 0.9611 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.7394, allocations: 112.6 kB / 0.9612 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.7394, allocations: 0.75 kB / 0.9612 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004178/0.7398, allocations: 208.3 kB / 0.9614 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.7398, allocations: 56.39 kB / 0.9615 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.7405, allocations: 0.6456 MB / 0.9621 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.7406, allocations: 31.61 kB / 0.9622 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.7407, allocations: 259.7 kB / 0.9624 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.7408, allocations: 37.16 kB / 0.9624 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.7408, allocations: 9.094 kB / 0.9625 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.7409, allocations: 366.7 kB / 0.9628 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.741, allocations: 73.88 kB / 0.9629 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.7412, allocations: 119.4 kB / 0.963 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.7413, allocations: 73.95 kB / 0.9631 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7413, allocations: 0 / 0.9631 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003719/0.7417, allocations: 267.7 kB / 0.9633 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7417, allocations: 10.44 kB / 0.9633 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7417, allocations: 0 / 0.9633 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.7417, allocations: 9.25 kB / 0.9633 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.7419, allocations: 37.77 kB / 0.9634 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7419, allocations: 5.281 kB / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.7421, allocations: 38.56 kB / 0.9634 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.7421, allocations: 10.33 kB / 0.9634 GB, free: 0.8242 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.7423, allocations: 202.2 kB / 0.9636 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.7424, allocations: 50.59 kB / 0.9637 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.928e-05/0.7425, allocations: 60.12 kB / 0.9637 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7425, allocations: 2.531 kB / 0.9637 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.7425, allocations: 3.984 kB / 0.9637 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7425, allocations: 0 / 0.9637 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.7428, allocations: 379.9 kB / 0.9641 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7428, allocations: 0 / 0.9641 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.7429, allocations: 13.12 kB / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7429, allocations: 0 / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7429, allocations: 1.188 kB / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7429, allocations: 5.406 kB / 0.9641 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.743, allocations: 3.984 kB / 0.9641 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.7433, allocations: 258.4 kB / 0.9644 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.7434, allocations: 133.9 kB / 0.9645 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.7435, allocations: 4 kB / 0.9645 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.7436, allocations: 22.2 kB / 0.9645 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.7437, allocations: 20.67 kB / 0.9645 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.7437, allocations: 7.938 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004682/0.7442, allocations: 421.2 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7442, allocations: 0 / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003082/0.7445, allocations: 71.86 kB / 0.965 GB, free: 15.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.746, allocations: 1.118 MB / 0.9661 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.7464, allocations: 160.8 kB / 0.9663 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7464, allocations: 1.312 kB / 0.9663 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.7465, allocations: 54.89 kB / 0.9663 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.747, allocations: 67.69 kB / 0.9664 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.7514, allocations: 2.906 MB / 0.9692 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.7519, allocations: 0.858 MB / 0.97 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000149/0.752, allocations: 39.55 kB / 0.9701 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.7523, allocations: 159.9 kB / 0.9702 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.7523, allocations: 0 / 0.9702 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.7743, allocations: 8.932 MB / 0.979 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.7745, allocations: 223.8 kB / 0.9792 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.702, allocations: 1.969 kB / 0.9792 GB, free: 6.082 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat