Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_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.001322/0.001322, 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.001282/0.001282, allocations: 193.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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7346 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.44 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2488, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003882/0.2527, allocations: 2.446 MB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.255, allocations: 1.502 MB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.2552, allocations: 7.938 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.2558, allocations: 223.3 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.2562, allocations: 155.2 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.2567, allocations: 191.5 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.2571, allocations: 342.9 kB / 1.058 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2573, allocations: 88.7 kB / 1.058 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2575, allocations: 143.3 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2577, allocations: 151.3 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.2578, allocations: 24 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2579, allocations: 63.98 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.258, allocations: 127.5 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2582, allocations: 190.6 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.2587, allocations: 0.4903 MB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2587, allocations: 0 / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2587, allocations: 0 / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2587, allocations: 0 / 1.059 GB, free: 2.191 MB / 0.8106 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.001106/0.2598, allocations: 0.8085 MB / 1.06 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2599, allocations: 8.625 kB / 1.06 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.2599, allocations: 46.75 kB / 1.06 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.26, allocations: 60.19 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.2605, allocations: 423.8 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2605, allocations: 16.12 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2606, allocations: 12 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2608, allocations: 134.3 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2609, allocations: 4 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2609, allocations: 4 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2609, allocations: 7.938 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2611, allocations: 87.89 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009679/0.2621, allocations: 0.6446 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.2624, allocations: 130.7 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2625, allocations: 52.84 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.2626, allocations: 0 / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.2628, allocations: 107.3 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2628, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.00042/0.2632, allocations: 209.2 kB / 1.062 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2633, allocations: 59.33 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.2639, allocations: 0.6515 MB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.264, allocations: 29.7 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2641, allocations: 260.3 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.2642, allocations: 35.55 kB / 1.063 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.2643, allocations: 53.61 kB / 1.063 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2644, allocations: 374.7 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2646, allocations: 79.97 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2647, allocations: 112.7 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.265, allocations: 129.6 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.265, allocations: 0 / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004029/0.2654, allocations: 275.6 kB / 1.064 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2654, allocations: 4 kB / 1.064 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2654, allocations: 3.984 kB / 1.064 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2654, allocations: 4 kB / 1.064 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2656, allocations: 39.98 kB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2656, allocations: 0 / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.2658, allocations: 31.81 kB / 1.064 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.2659, allocations: 8 kB / 1.064 GB, free: 13.09 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.000189/0.2661, allocations: 209.7 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.2661, allocations: 51.34 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.2662, allocations: 56.66 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2662, allocations: 4 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2662, allocations: 0 / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2662, allocations: 0 / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.2666, allocations: 381.3 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2666, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.2666, allocations: 8 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2667, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2667, allocations: 11.98 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2667, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2667, allocations: 3.938 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.2671, allocations: 272.1 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2672, allocations: 124.5 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.2673, allocations: 4 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2674, allocations: 15.98 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.2675, allocations: 19.97 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2675, allocations: 7.984 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004445/0.268, allocations: 430.8 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.268, allocations: 4 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002859/0.2683, allocations: 59.94 kB / 1.065 GB, free: 11.36 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.001485/0.2698, allocations: 1.102 MB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.2701, allocations: 171.8 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2701, allocations: 0 / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2703, allocations: 55.92 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2707, allocations: 76.55 kB / 1.067 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.2751, allocations: 3.896 MB / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2755, allocations: 0.8572 MB / 1.071 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.2757, allocations: 38.28 kB / 1.071 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.2759, allocations: 163.4 kB / 1.071 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2759, allocations: 0 / 1.071 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5345/0.8104, allocations: 9.088 MB / 1.08 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/9.248, allocations: 8.5 kB / 1.08 GB, free: 12.06 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches