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.001649/0.001649, 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.002037/0.002037, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.372/2.372, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5205, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003562/0.5241, allocations: 2.432 MB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.5263, allocations: 1.52 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.5265, allocations: 7.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.5271, allocations: 230.9 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.5275, allocations: 151.2 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.5279, allocations: 191.4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.5283, allocations: 342.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.5285, allocations: 92.69 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.5287, allocations: 139.3 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.5288, allocations: 151.3 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.5289, allocations: 24 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.529, allocations: 63.92 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.5292, allocations: 127.5 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.5293, allocations: 186.6 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.5298, allocations: 0.498 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5298, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5298, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5298, allocations: 0 / 1.023 GB, free: 12.29 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.001085/0.5309, allocations: 0.7985 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.531, allocations: 8.031 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.531, allocations: 42.75 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.5311, allocations: 60.19 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.5316, allocations: 427.8 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5316, allocations: 12.12 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.5316, allocations: 16 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.5319, allocations: 134.5 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5319, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.5319, allocations: 8 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5319, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.5321, allocations: 83.91 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.533, allocations: 0.6445 MB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.5334, allocations: 138.7 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.5335, allocations: 44.84 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5335, allocations: 0 / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.5337, allocations: 103.4 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.5338, allocations: 4 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004104/0.5342, allocations: 212.9 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5342, allocations: 55.39 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.5349, allocations: 0.6476 MB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.5349, allocations: 33.7 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.5351, allocations: 256.4 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.5351, allocations: 43.48 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.5352, allocations: 53.61 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5353, allocations: 378.7 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5355, allocations: 75.97 kB / 1.028 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.5356, allocations: 120.3 kB / 1.028 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.5359, allocations: 127 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5359, allocations: 0 / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003829/0.5363, allocations: 274.8 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5363, allocations: 4 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5363, allocations: 3.984 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5363, allocations: 4 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.5365, allocations: 39.92 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5365, allocations: 0 / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.5367, allocations: 31.81 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5367, allocations: 8 kB / 1.028 GB, free: 7.207 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.0001837/0.5369, allocations: 215.9 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.537, allocations: 55.33 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.5371, allocations: 56.66 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5371, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5371, allocations: 4 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5371, allocations: 4 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.5374, allocations: 373.4 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5374, allocations: 0 / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.5375, allocations: 12 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5375, allocations: 3.984 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5375, allocations: 4 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5375, allocations: 0 / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5375, allocations: 0 / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.5379, allocations: 268 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.538, allocations: 124.4 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.5381, allocations: 8 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.5382, allocations: 16.05 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.5383, allocations: 23.97 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5383, allocations: 7.984 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004292/0.5387, allocations: 430.8 kB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5387, allocations: 0 / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002818/0.539, allocations: 63.91 kB / 1.03 GB, free: 5.484 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.00145/0.5405, allocations: 1.11 MB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.5408, allocations: 159.8 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5408, allocations: 4 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5409, allocations: 51.92 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.5413, allocations: 80.55 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.5457, allocations: 3.879 MB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5461, allocations: 0.8617 MB / 1.036 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000119/0.5462, allocations: 38.27 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5464, allocations: 163.3 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5464, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/0.8246, allocations: 9.087 MB / 1.045 GB, free: 6.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.2, allocations: 8 kB / 1.045 GB, free: 6.223 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