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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001051/0.001051, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007834/0.007834, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003161, allocations: 20.66 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2727, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002686/0.2754, allocations: 2.127 MB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2776, allocations: 1.46 MB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.2778, allocations: 3.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.2784, allocations: 211.5 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.2788, allocations: 139.4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2793, allocations: 159.7 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.2797, allocations: 334.9 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2799, allocations: 84.7 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2801, allocations: 111.4 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.2803, allocations: 143.2 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.2803, allocations: 8 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.2805, allocations: 55.89 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.2806, allocations: 103.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.2808, allocations: 200.3 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2812, allocations: 482 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2812, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2812, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2813, allocations: 0 / 1.064 GB, free: 15.25 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.0009788/0.2822, allocations: 0.7349 MB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2823, allocations: 11.97 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.2823, allocations: 46.73 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.2824, allocations: 60.19 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.2828, allocations: 427.8 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2829, allocations: 16.11 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.2829, allocations: 12 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.2831, allocations: 134.3 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2832, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2832, allocations: 8 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2832, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2834, allocations: 87.89 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.2843, allocations: 0.6524 MB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.2846, allocations: 134.7 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.2847, allocations: 44.84 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.2847, allocations: 7.984 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.2849, allocations: 111.2 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.2849, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003798/0.2853, allocations: 212.9 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2853, allocations: 55.41 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.286, allocations: 0.6436 MB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.286, allocations: 33.7 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.2862, allocations: 264.4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.2862, allocations: 35.55 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2863, allocations: 29.7 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2864, allocations: 370.7 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2866, allocations: 75.97 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2867, allocations: 117.4 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.2869, allocations: 139 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2869, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003653/0.2873, allocations: 263.7 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2873, allocations: 8 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2873, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2874, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2875, allocations: 43.91 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2875, allocations: 11.92 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2877, allocations: 31.86 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2877, allocations: 12 kB / 1.069 GB, free: 10.23 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.000182/0.2879, allocations: 205.7 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.288, allocations: 51.34 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/0.2881, allocations: 60.66 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2881, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2881, allocations: 8 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2881, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.2884, allocations: 377.2 kB / 1.07 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2884, allocations: 0 / 1.07 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.2885, allocations: 11.98 kB / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2885, allocations: 0 / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2885, allocations: 8 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2885, allocations: 0 / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2885, allocations: 0 / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.2889, allocations: 268.2 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.289, allocations: 124.5 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.2891, allocations: 8 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2892, allocations: 15.98 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.2893, allocations: 19.97 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2893, allocations: 8 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004132/0.2897, allocations: 434.8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2897, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002578/0.29, allocations: 63.83 kB / 1.07 GB, free: 8.496 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.001387/0.2914, allocations: 1.119 MB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.2916, allocations: 159.8 kB / 1.072 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2917, allocations: 0 / 1.072 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2918, allocations: 55.92 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.2922, allocations: 62.95 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.2963, allocations: 4.013 MB / 1.076 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2967, allocations: 0.8536 MB / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2968, allocations: 42.27 kB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.297, allocations: 155.4 kB / 1.077 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.297, allocations: 0 / 1.077 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.828/1.125, allocations: 8.53 MB / 1.085 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.125, allocations: 260.2 kB / 1.085 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.515, allocations: 0 / 1.085 GB, free: 9.445 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