Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001656/0.001656, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002118/0.002118, allocations: 209.9 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.264/3.264, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 62.03 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004347/0.3556, allocations: 2.378 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.3584, allocations: 1.56 MB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.3586, allocations: 7.938 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.3594, allocations: 215 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.36, allocations: 199.1 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3604, allocations: 159.5 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.361, allocations: 358.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.3612, allocations: 60.88 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.3615, allocations: 147.4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.3617, allocations: 163.2 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.3618, allocations: 24 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.362, allocations: 63.92 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3621, allocations: 127.5 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.3623, allocations: 138.9 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.363, allocations: 0.5249 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.363, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.363, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.363, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 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.001484/0.3645, allocations: 0.7574 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3645, allocations: 8.031 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.3646, allocations: 46.73 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3647, allocations: 60.56 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.3655, allocations: 375.4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3655, allocations: 12.12 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.3656, allocations: 12 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3659, allocations: 189.7 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3659, allocations: 11.92 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3659, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3659, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3661, allocations: 95.88 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3673, allocations: 0.5618 MB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.3677, allocations: 130.7 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.3677, allocations: 40.84 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3678, allocations: 0 / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.368, allocations: 158.7 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.368, allocations: 3.938 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000487/0.3685, allocations: 217.1 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3686, allocations: 51.41 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/0.3694, allocations: 0.672 MB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3694, allocations: 33.7 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.3697, allocations: 260.4 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3697, allocations: 35.72 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3698, allocations: 65.58 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.37, allocations: 370.7 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3702, allocations: 79.95 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.3704, allocations: 164.8 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3707, allocations: 128.7 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3707, allocations: 0 / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004665/0.3712, allocations: 277.2 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3712, allocations: 10.03 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3712, allocations: 0 / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3712, allocations: 4 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3714, allocations: 35.92 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3714, allocations: 0 / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3716, allocations: 31.86 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3716, allocations: 11.94 kB / 1.336 GB, free: 7.102 MB / 1.029 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.000261/0.3719, allocations: 218.2 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.372, allocations: 51.67 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.3724, allocations: 198.4 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3724, allocations: 0 / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3724, allocations: 0 / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3724, allocations: 0 / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.3728, allocations: 324.5 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3728, allocations: 4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.3729, allocations: 11.94 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3729, allocations: 0 / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3729, allocations: 3.984 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3729, allocations: 8 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3729, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.3734, allocations: 271.2 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3735, allocations: 55.59 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.3736, allocations: 8 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3737, allocations: 11.98 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.3738, allocations: 27.94 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3738, allocations: 8 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005773/0.3744, allocations: 447 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3744, allocations: 4.062 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003353/0.3747, allocations: 67.83 kB / 1.337 GB, free: 5.348 MB / 1.029 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.002635/0.3774, allocations: 1.144 MB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.3778, allocations: 153.7 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3778, allocations: 0 / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3779, allocations: 51.91 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.3784, allocations: 85.39 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.3843, allocations: 3.838 MB / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3846, allocations: 254.5 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.3848, allocations: 42.95 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.3851, allocations: 163.4 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.3851, allocations: 0 / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.4283, allocations: 10.17 MB / 1.353 GB, free: 5.621 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 4.062 kB / 1.353 GB, free: 5.621 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.26497390307486]