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.001424/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001626/0.001626, allocations: 193.8 kB / 16.26 MB, free: 6.629 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.191/1.191, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.84 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.292, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003632/0.2957, allocations: 2.485 MB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2978, allocations: 1.471 MB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2981, allocations: 7.938 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.2987, allocations: 223.5 kB / 1.057 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2991, allocations: 131.5 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.2995, allocations: 171.7 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.2999, allocations: 350.8 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.3001, allocations: 88.7 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.3003, allocations: 139.4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3005, allocations: 159.2 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.3006, allocations: 24 kB / 1.058 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3007, allocations: 71.97 kB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3008, allocations: 123.5 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.301, allocations: 194.6 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.3015, allocations: 0.4904 MB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3015, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3015, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.3015, allocations: 0 / 1.058 GB, free: 2.531 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.001136/0.3026, allocations: 0.8007 MB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3027, allocations: 24.44 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.3027, allocations: 42.73 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.3028, allocations: 60.19 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3033, allocations: 415.9 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3033, allocations: 24.05 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3034, allocations: 12 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3036, allocations: 138.3 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3036, allocations: 0 / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3037, allocations: 4 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3037, allocations: 4 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.3039, allocations: 91.94 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.3048, allocations: 0.6405 MB / 1.061 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.3052, allocations: 130.7 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3053, allocations: 44.84 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3053, allocations: 4 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3055, allocations: 111.2 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.3056, allocations: 3.938 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004159/0.306, allocations: 209 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.306, allocations: 55.41 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.3067, allocations: 0.6436 MB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.3067, allocations: 37.69 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3069, allocations: 256.4 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.3069, allocations: 31.55 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.307, allocations: 65.59 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3072, allocations: 366.7 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3073, allocations: 75.97 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3075, allocations: 124.6 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.3077, allocations: 127.9 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3077, allocations: 0 / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000381/0.3081, allocations: 271.4 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3081, allocations: 9.719 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3081, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3081, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3083, allocations: 44.03 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.3083, allocations: 7.938 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3085, allocations: 27.83 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3085, allocations: 4 kB / 1.063 GB, free: 13.43 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.0001969/0.3087, allocations: 209.7 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.3088, allocations: 51.34 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.3089, allocations: 56.66 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3089, allocations: 7.938 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3089, allocations: 0 / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3089, allocations: 0 / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3092, allocations: 381.3 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3092, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.3093, allocations: 15.92 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3093, allocations: 0 / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3094, allocations: 4 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3094, allocations: 4 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3094, allocations: 0 / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3098, allocations: 264.2 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.3099, allocations: 124.5 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3099, allocations: 11.98 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3101, allocations: 7.984 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3101, allocations: 23.97 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3102, allocations: 4 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004258/0.3106, allocations: 430.8 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3106, allocations: 8 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002799/0.3109, allocations: 55.94 kB / 1.065 GB, free: 11.71 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.001433/0.3123, allocations: 1.11 MB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.3126, allocations: 171.8 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3127, allocations: 0 / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3128, allocations: 55.97 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3132, allocations: 70.2 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3176, allocations: 3.988 MB / 1.07 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.318, allocations: 0.8572 MB / 1.071 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.3181, allocations: 38.28 kB / 1.071 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3183, allocations: 163.4 kB / 1.071 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3183, allocations: 0 / 1.071 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.367/3.685, allocations: 8.873 MB / 1.08 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003671/3.686, allocations: 256.7 kB / 1.08 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/7.056, allocations: 6 kB / 1.08 GB, free: 12.3 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