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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_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.001667/0.001667, allocations: 108 kB / 15.6 MB, free: 132 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.00184/0.00184, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 71.02 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2383, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003987/0.2423, allocations: 2.431 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2446, allocations: 1.506 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.2448, allocations: 7.938 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2454, allocations: 227.3 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.2457, allocations: 151.2 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.2461, allocations: 196.7 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.2465, allocations: 338.9 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2467, allocations: 94.09 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.2468, allocations: 143.3 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.247, allocations: 151.3 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.2471, allocations: 20 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2472, allocations: 67.98 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2473, allocations: 127.5 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2475, allocations: 186.6 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.2479, allocations: 0.4942 MB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2479, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.248, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.248, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 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.001057/0.249, allocations: 0.8084 MB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2491, allocations: 8.031 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2491, allocations: 42.75 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.2492, allocations: 56.28 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.2497, allocations: 431.7 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2497, allocations: 16.12 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.2497, allocations: 16 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.25, allocations: 134.8 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.25, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.25, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.25, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2502, allocations: 83.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.2511, allocations: 0.6407 MB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2514, allocations: 134.7 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.2515, allocations: 48.84 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2516, allocations: 0 / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.2518, allocations: 111.3 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.2518, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003994/0.2522, allocations: 208.9 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2522, allocations: 63.33 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.2529, allocations: 0.6476 MB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2529, allocations: 29.7 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2531, allocations: 264.3 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.2532, allocations: 31.55 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.2532, allocations: 53.7 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2534, allocations: 374.7 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2535, allocations: 83.91 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2537, allocations: 115.3 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2539, allocations: 128.5 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2539, allocations: 0 / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003739/0.2543, allocations: 268.8 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2543, allocations: 8 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2543, allocations: 4.062 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.2544, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2545, allocations: 39.92 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2545, allocations: 0 / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2547, allocations: 31.81 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2547, allocations: 4 kB / 1.075 GB, free: 3.004 MB / 0.8262 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.0001949/0.2549, allocations: 223.5 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.255, allocations: 55.34 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.2551, allocations: 56.66 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2551, allocations: 0 / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2551, allocations: 0 / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2551, allocations: 0 / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.2554, allocations: 389.1 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2554, allocations: 0 / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.2555, allocations: 8 kB / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2555, allocations: 0 / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2555, allocations: 7.984 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2555, allocations: 4 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2555, allocations: 0 / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2559, allocations: 265.3 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.256, allocations: 124.5 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.2561, allocations: 4 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2562, allocations: 15.98 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.2563, allocations: 19.97 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2563, allocations: 12.05 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004322/0.2567, allocations: 426.8 kB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2567, allocations: 0 / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002536/0.257, allocations: 59.94 kB / 1.076 GB, free: 1.277 MB / 0.8262 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.001878/0.2589, allocations: 1.127 MB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2592, allocations: 159.8 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2592, allocations: 0 / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.2593, allocations: 55.92 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.2597, allocations: 71.56 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.2639, allocations: 3.889 MB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.2643, allocations: 0.8533 MB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.2645, allocations: 46.27 kB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.2647, allocations: 167.3 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2647, allocations: 0 / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/0.4066, allocations: 9.087 MB / 1.091 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.48, allocations: 3.984 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches