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.002072/0.002072, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001636/0.001636, allocations: 219 kB / 23.03 MB, free: 4.922 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",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.001941/0.001941, allocations: 60.36 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3083, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004096/0.3124, allocations: 2.379 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.3152, allocations: 1.556 MB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.3154, allocations: 7.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.3161, allocations: 210.9 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.3166, allocations: 199.1 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.317, allocations: 159.5 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.3174, allocations: 362.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3176, allocations: 68.81 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3178, allocations: 143.4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3181, allocations: 171.2 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.3181, allocations: 24 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3183, allocations: 63.97 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3185, allocations: 131.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3186, allocations: 143 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.3192, allocations: 0.5171 MB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3192, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3192, allocations: 7.938 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3192, allocations: 0 / 1.333 GB, free: 11.32 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.001201/0.3204, allocations: 0.7523 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3205, allocations: 8.031 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.199e-05/0.3205, allocations: 8.188 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.3206, allocations: 46.73 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3207, allocations: 64.52 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.3212, allocations: 371.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3212, allocations: 11.94 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.3213, allocations: 15.98 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3216, allocations: 185.9 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3216, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.3216, allocations: 8 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3216, allocations: 7.938 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3218, allocations: 91.95 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3228, allocations: 0.5695 MB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.3232, allocations: 130.7 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.3233, allocations: 40.84 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3233, allocations: 8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3236, allocations: 158.7 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.3236, allocations: 0 / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004654/0.324, allocations: 221.5 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3241, allocations: 55.41 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/0.3248, allocations: 0.6642 MB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3249, allocations: 33.69 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.3251, allocations: 260.4 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3251, allocations: 35.73 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3252, allocations: 65.58 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.3254, allocations: 374.7 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3256, allocations: 79.91 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.3258, allocations: 166.8 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.326, allocations: 135.7 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.326, allocations: 0 / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004428/0.3265, allocations: 282.5 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3265, allocations: 4 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3265, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3265, allocations: 8.062 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3267, allocations: 39.92 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3267, allocations: 4 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3269, allocations: 31.86 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.3269, allocations: 4 kB / 1.337 GB, free: 6.184 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.0002189/0.3271, allocations: 210.2 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.3272, allocations: 63.61 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3276, allocations: 199.5 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3276, allocations: 4 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3276, allocations: 0 / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3276, allocations: 0 / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.328, allocations: 336.4 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.328, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.328, allocations: 15.98 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.328, allocations: 0 / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3281, allocations: 4 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3281, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3281, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.3285, allocations: 285.8 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.3286, allocations: 55.62 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.3287, allocations: 8 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3288, allocations: 15.98 kB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3289, allocations: 23.95 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3289, allocations: 4 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005127/0.3294, allocations: 443 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3294, allocations: 0 / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003182/0.3297, allocations: 67.88 kB / 1.339 GB, free: 4.414 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.002354/0.3321, allocations: 1.164 MB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.3324, allocations: 157.7 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3324, allocations: 4 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3326, allocations: 55.91 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.333, allocations: 72.94 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.3378, allocations: 3.869 MB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3381, allocations: 254.5 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.3382, allocations: 38.28 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3384, allocations: 167.3 kB / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3384, allocations: 0 / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.3743, allocations: 9.908 MB / 1.354 GB, free: 4.941 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.47, allocations: 6.25 kB / 1.354 GB, free: 4.938 MB / 1.045 GB " [Timeout remaining time 287] (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.336598049034365]