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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8941/0.8941, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.72e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003814/0.003831, allocations: 2.37 MB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005618, allocations: 1.571 MB / 0.9544 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.005776, allocations: 7.938 kB / 0.9544 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.006322, allocations: 206.8 kB / 0.9546 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.006792, allocations: 210.9 kB / 0.9548 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.00709, allocations: 155.5 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.007401, allocations: 374.7 kB / 0.9553 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.007557, allocations: 56.89 kB / 0.9553 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.007737, allocations: 195.5 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.007882, allocations: 131.6 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.007911, allocations: 20 kB / 0.9557 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.00803, allocations: 71.84 kB / 0.9557 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.008126, allocations: 127.5 kB / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.008206, allocations: 99.58 kB / 0.9559 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.008639, allocations: 0.5021 MB / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.008642, allocations: 0 / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.352e-06/0.008643, allocations: 4 kB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.008649, allocations: 3.938 kB / 0.9564 GB, free: 13.37 MB / 0.9167 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.0008904/0.009539, allocations: 0.7445 MB / 0.9572 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.009577, allocations: 12.03 kB / 0.9572 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.009615, allocations: 46.73 kB / 0.9572 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.009681, allocations: 60.56 kB / 0.9573 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.01005, allocations: 382.6 kB / 0.9576 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01006, allocations: 12.38 kB / 0.9577 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.01009, allocations: 12.38 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.0103, allocations: 189.1 kB / 0.9579 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.0103, allocations: 0 / 0.9579 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01032, allocations: 11.94 kB / 0.9579 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.01032, allocations: 3.984 kB / 0.9579 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.01046, allocations: 83.95 kB / 0.9579 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.01111, allocations: 0.5657 MB / 0.9585 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.01132, allocations: 126.8 kB / 0.9586 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.01138, allocations: 44.78 kB / 0.9587 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.0114, allocations: 7.875 kB / 0.9587 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.01156, allocations: 158.8 kB / 0.9588 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.01156, allocations: 0 / 0.9588 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0002958/0.01186, allocations: 213.2 kB / 0.959 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.01189, allocations: 55.41 kB / 0.9591 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.01237, allocations: 0.6681 MB / 0.9597 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01239, allocations: 33.7 kB / 0.9598 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.01252, allocations: 264.3 kB / 0.96 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01255, allocations: 35.69 kB / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.01262, allocations: 49.7 kB / 0.9601 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01273, allocations: 370.8 kB / 0.9605 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.01282, allocations: 79.97 kB / 0.9605 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01294, allocations: 168.5 kB / 0.9607 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01308, allocations: 128.2 kB / 0.9608 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01308, allocations: 4 kB / 0.9608 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002568/0.01334, allocations: 281 kB / 0.9611 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01335, allocations: 4 kB / 0.9611 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01336, allocations: 0 / 0.9611 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.01337, allocations: 0 / 0.9611 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01348, allocations: 39.91 kB / 0.9611 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01349, allocations: 4 kB / 0.9611 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.01358, allocations: 31.91 kB / 0.9612 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01359, allocations: 4 kB / 0.9612 GB, free: 8.281 MB / 0.9167 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.0001489/0.01374, allocations: 213.7 kB / 0.9614 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.01378, allocations: 63.5 kB / 0.9614 GB, free: 8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.01401, allocations: 186.5 kB / 0.9616 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01401, allocations: 4 kB / 0.9616 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01401, allocations: 0 / 0.9616 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01402, allocations: 3.984 kB / 0.9616 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.01423, allocations: 324.6 kB / 0.9619 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.01424, allocations: 3.938 kB / 0.9619 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.01428, allocations: 15.98 kB / 0.9619 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01429, allocations: 3.984 kB / 0.9619 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.0143, allocations: 4 kB / 0.9619 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0143, allocations: 0 / 0.9619 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0143, allocations: 3.938 kB / 0.962 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.01457, allocations: 268.3 kB / 0.9622 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.01462, allocations: 63.52 kB / 0.9623 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01465, allocations: 8 kB / 0.9623 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.01472, allocations: 16.05 kB / 0.9623 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.01477, allocations: 23.95 kB / 0.9623 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.01478, allocations: 4 kB / 0.9623 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003127/0.01509, allocations: 443 kB / 0.9627 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01509, allocations: 0 / 0.9627 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002081/0.0153, allocations: 63.89 kB / 0.9628 GB, free: 6.531 MB / 0.9167 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001086/0.01638, allocations: 1.152 MB / 0.9639 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.0166, allocations: 154.9 kB / 0.9641 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0166, allocations: 0 / 0.9641 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.01667, allocations: 51.92 kB / 0.9641 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01694, allocations: 82.3 kB / 0.9642 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.01989, allocations: 3.81 MB / 0.9679 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.02005, allocations: 262.5 kB / 0.9682 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.471e-05/0.02015, allocations: 42.95 kB / 0.9682 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.0203, allocations: 164.4 kB / 0.9684 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.0203, allocations: 4 kB / 0.9684 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.04211, allocations: 10.31 MB / 0.9784 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.257, allocations: 8.344 kB / 0.9785 GB, free: 6.668 MB / 0.9323 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.242984376847744]