Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_10_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.001626/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001903/0.001903, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5836, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003556/0.5872, allocations: 2.488 MB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.5892, allocations: 1.485 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.5893, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.5899, allocations: 215.1 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.5902, allocations: 139.4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.5906, allocations: 163.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000345/0.5909, allocations: 346.9 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.5911, allocations: 96.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.5913, allocations: 139.3 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.5914, allocations: 167.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.5915, allocations: 20 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.5916, allocations: 67.91 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.5917, allocations: 135.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.5919, allocations: 182.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.5923, allocations: 0.498 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5923, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5923, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.5924, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 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.001043/0.5934, allocations: 0.8007 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.5934, allocations: 8.031 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.5935, allocations: 46.73 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.5936, allocations: 60.19 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.5941, allocations: 415.9 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5941, allocations: 20.11 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.5941, allocations: 16 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.5944, allocations: 126.8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5944, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.5944, allocations: 8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.5944, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.5946, allocations: 87.89 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.5955, allocations: 0.6484 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.5958, allocations: 130.6 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.596, allocations: 56.88 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.596, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.5962, allocations: 107.3 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.5962, allocations: 0 / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004083/0.5966, allocations: 212.9 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5966, allocations: 55.34 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.5973, allocations: 0.6514 MB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5973, allocations: 33.7 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.5975, allocations: 260.4 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.5975, allocations: 31.56 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.5976, allocations: 65.59 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5978, allocations: 370.7 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.5979, allocations: 75.95 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5981, allocations: 124.8 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.5983, allocations: 125.6 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5983, allocations: 0 / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003661/0.5987, allocations: 266 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5987, allocations: 8 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5987, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5987, allocations: 3.984 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.5989, allocations: 43.92 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5989, allocations: 4.062 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5991, allocations: 27.83 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5991, allocations: 7.984 kB / 1.028 GB, free: 7.438 MB / 0.7794 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.0001885/0.5993, allocations: 214.2 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.5994, allocations: 51.34 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/0.5994, allocations: 56.66 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5995, allocations: 4 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5995, allocations: 3.984 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5995, allocations: 0 / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.5998, allocations: 377.4 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5998, allocations: 4 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.5999, allocations: 8 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5999, allocations: 0 / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.5999, allocations: 4 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5999, allocations: 0 / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5999, allocations: 0 / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.6003, allocations: 268.2 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.6004, allocations: 128.4 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.6004, allocations: 8 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.6006, allocations: 11.98 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.6007, allocations: 23.97 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6007, allocations: 4 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000413/0.6011, allocations: 426.8 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6011, allocations: 4.062 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002743/0.6014, allocations: 67.89 kB / 1.029 GB, free: 5.715 MB / 0.7794 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.001435/0.6028, allocations: 1.108 MB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.6031, allocations: 169.8 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6032, allocations: 0 / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.6033, allocations: 55.92 kB / 1.031 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.6037, allocations: 78.81 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.608, allocations: 3.971 MB / 1.034 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.6084, allocations: 0.8578 MB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.6086, allocations: 42.27 kB / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.6088, allocations: 159.4 kB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.6088, allocations: 7.938 kB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.575/2.184, allocations: 8.855 MB / 1.044 GB, free: 6.617 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/2.184, allocations: 262.6 kB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/4.57, allocations: 0 / 1.044 GB, free: 6.352 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches