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.007469/0.007469, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002014/0.002014, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2746, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003984/0.2787, allocations: 2.436 MB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.2811, allocations: 1.51 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2813, allocations: 8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.282, allocations: 227.1 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2824, allocations: 155.2 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2829, allocations: 191.3 kB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.2833, allocations: 346.8 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2835, allocations: 96.62 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.2838, allocations: 139.4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.284, allocations: 151.2 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.284, allocations: 24 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2842, allocations: 67.95 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.2844, allocations: 127.5 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2846, allocations: 194.6 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.2852, allocations: 0.5054 MB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2852, allocations: 4 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2852, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2852, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 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.001255/0.2865, allocations: 0.8198 MB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2865, allocations: 12.03 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.2866, allocations: 50.73 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2867, allocations: 60.52 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.2873, allocations: 428.5 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2873, allocations: 16.12 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2873, allocations: 12 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2876, allocations: 142.2 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2877, allocations: 0 / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2877, allocations: 7.984 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2877, allocations: 8 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.2879, allocations: 79.97 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.289, allocations: 0.6368 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2894, allocations: 138.7 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2895, allocations: 44.84 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2895, allocations: 4 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.2897, allocations: 99.36 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.2897, allocations: 0 / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.000455/0.2902, allocations: 221.1 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2902, allocations: 51.41 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.291, allocations: 0.6553 MB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2911, allocations: 33.7 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.2913, allocations: 248.5 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.2913, allocations: 47.67 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.2914, allocations: 49.7 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2916, allocations: 378.7 kB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.2918, allocations: 79.97 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.292, allocations: 111.4 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.2923, allocations: 128.1 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2923, allocations: 4 kB / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004513/0.2927, allocations: 275 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2928, allocations: 4 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2928, allocations: 0 / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2928, allocations: 4 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.293, allocations: 35.98 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.293, allocations: 4 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2932, allocations: 35.8 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.2932, allocations: 7.984 kB / 1.231 GB, free: 2.996 MB / 0.9825 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.0002288/0.2934, allocations: 218.2 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.2935, allocations: 55.62 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.2936, allocations: 60.59 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2936, allocations: 4 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2936, allocations: 0 / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2936, allocations: 4 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.294, allocations: 373.4 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.294, allocations: 0 / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.2941, allocations: 11.94 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2941, allocations: 4 kB / 1.232 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2941, allocations: 7.984 kB / 1.232 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2941, allocations: 0 / 1.232 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2941, allocations: 0 / 1.232 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.2946, allocations: 268.6 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2947, allocations: 128.7 kB / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.2948, allocations: 4 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2949, allocations: 20.05 kB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.295, allocations: 19.97 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.295, allocations: 7.984 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005245/0.2956, allocations: 430.8 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2956, allocations: 0 / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002963/0.2959, allocations: 59.94 kB / 1.233 GB, free: 1.258 MB / 0.9825 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.002176/0.2981, allocations: 1.129 MB / 1.234 GB, free: 264 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.2984, allocations: 147.9 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2984, allocations: 0 / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2986, allocations: 59.86 kB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.299, allocations: 85.59 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.3041, allocations: 3.802 MB / 1.238 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3046, allocations: 0.8494 MB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3047, allocations: 38.27 kB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.305, allocations: 167.5 kB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.305, allocations: 0 / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.3382, allocations: 9.214 MB / 1.248 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.836, allocations: 0 / 1.248 GB, free: 1.953 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 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.csv","/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