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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.91 kB / 1.056 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8195, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004497/0.824, allocations: 2.449 MB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.8268, allocations: 1.527 MB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.8271, allocations: 8.25 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.8279, allocations: 224.6 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.8284, allocations: 162.8 kB / 1.217 GB, free: 476 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.829, allocations: 191.7 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.8294, allocations: 348.1 kB / 1.218 GB, free: 116 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.8296, allocations: 63.16 kB / 1.218 GB, free: 72 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.8299, allocations: 144.5 kB / 1.218 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.8301, allocations: 162.1 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.8302, allocations: 21.5 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.8303, allocations: 64.89 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.8305, allocations: 123.1 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.8307, allocations: 196.6 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.8314, allocations: 0.5034 MB / 1.219 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8314, allocations: 5.375 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8314, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.8314, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9356 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.001427/0.8328, allocations: 0.8256 MB / 1.22 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8329, allocations: 15.03 kB / 1.22 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.8329, allocations: 38.5 kB / 1.22 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.833, allocations: 67.78 kB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.8337, allocations: 423.7 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.8337, allocations: 13.31 kB / 1.22 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.8338, allocations: 13.97 kB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.8341, allocations: 142 kB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8341, allocations: 0 / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.8341, allocations: 5.438 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8341, allocations: 3.438 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.8343, allocations: 82.77 kB / 1.221 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.8355, allocations: 0.6425 MB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.8359, allocations: 124.5 kB / 1.221 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.836, allocations: 44 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.836, allocations: 10.05 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.8362, allocations: 101 kB / 1.221 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.8362, allocations: 4 kB / 1.221 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005537/0.8368, allocations: 214.1 kB / 1.222 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8368, allocations: 53.03 kB / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008709/0.8377, allocations: 0.6498 MB / 1.222 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.8378, allocations: 36.33 kB / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.838, allocations: 255.2 kB / 1.223 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.838, allocations: 41.56 kB / 1.223 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.8381, allocations: 54.44 kB / 1.223 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.8383, allocations: 375.1 kB / 1.223 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.8385, allocations: 75.09 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.8387, allocations: 115.9 kB / 1.223 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.8389, allocations: 131.5 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.839, allocations: 1.344 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004966/0.8394, allocations: 280.8 kB / 1.224 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8395, allocations: 5.375 kB / 1.224 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8395, allocations: 0 / 1.224 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8395, allocations: 1.688 kB / 1.224 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.8397, allocations: 45 kB / 1.224 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8397, allocations: 2.594 kB / 1.224 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.8399, allocations: 27 kB / 1.224 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.8399, allocations: 14.16 kB / 1.224 GB, free: 11.58 MB / 0.9356 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.0002831/0.8402, allocations: 211.7 kB / 1.224 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.8403, allocations: 54.52 kB / 1.224 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8404, allocations: 55.69 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8404, allocations: 2.5 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.8404, allocations: 0 / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8404, allocations: 0 / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.8409, allocations: 380.4 kB / 1.224 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8409, allocations: 0 / 1.224 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.896e-05/0.841, allocations: 16.73 kB / 1.224 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.841, allocations: 4 kB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.841, allocations: 1.25 kB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.841, allocations: 0.9062 kB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.841, allocations: 1.125 kB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.8416, allocations: 269.2 kB / 1.225 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.8417, allocations: 129.5 kB / 1.225 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.8418, allocations: 5.344 kB / 1.225 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8419, allocations: 15.58 kB / 1.225 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.842, allocations: 21.47 kB / 1.225 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.842, allocations: 9 kB / 1.225 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005375/0.8426, allocations: 427.1 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8426, allocations: 0.9375 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003228/0.8429, allocations: 60.05 kB / 1.225 GB, free: 10.42 MB / 0.9356 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.002374/0.8453, allocations: 1.131 MB / 1.226 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.8456, allocations: 141.5 kB / 1.227 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8456, allocations: 0 / 1.227 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.8458, allocations: 57.72 kB / 1.227 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.8462, allocations: 78.78 kB / 1.227 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.8515, allocations: 3.802 MB / 1.23 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.852, allocations: 0.8649 MB / 1.231 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.8522, allocations: 38.27 kB / 1.231 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.8524, allocations: 159.4 kB / 1.231 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of SimCode: time 7.71e-07/0.8524, allocations: 0 / 1.231 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.8887, allocations: 9.27 MB / 1.24 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.587, allocations: 18.8 kB / 1.24 GB, free: 11.77 MB / 0.9512 GB " [Timeout remaining time 290] (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 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.568979742005467]