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.001646/0.001646, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002156/0.002156, allocations: 216.5 kB / 22.24 MB, free: 5.258 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.809 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.168/3.168, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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="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.002062/0.002062, allocations: 70.08 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004286/0.3427, allocations: 2.378 MB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.3455, allocations: 1.56 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3457, allocations: 7.938 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.3463, allocations: 214.9 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3468, allocations: 207.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.3472, allocations: 151.5 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.3477, allocations: 362.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3479, allocations: 64.88 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.3481, allocations: 147.4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.3483, allocations: 167.2 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.3484, allocations: 24 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3485, allocations: 59.98 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3487, allocations: 135.5 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3488, allocations: 142.9 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.3495, allocations: 0.5171 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3495, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3495, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3495, allocations: 0 / 1.332 GB, free: 11.38 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.001335/0.3509, allocations: 0.7523 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3509, allocations: 12.03 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.3509, allocations: 42.73 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.351, allocations: 64.52 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.3516, allocations: 371.4 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3517, allocations: 12.12 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.3517, allocations: 16 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.352, allocations: 193.8 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.352, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.352, allocations: 7.938 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3521, allocations: 8 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3523, allocations: 83.95 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3533, allocations: 0.5657 MB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.3536, allocations: 122.7 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3537, allocations: 48.78 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3538, allocations: 4 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.354, allocations: 154.8 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.354, allocations: 0 / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004681/0.3545, allocations: 217.1 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3545, allocations: 51.41 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.3553, allocations: 0.672 MB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3553, allocations: 33.7 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.3556, allocations: 260.4 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3556, allocations: 35.73 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.3557, allocations: 65.58 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3559, allocations: 374.7 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3561, allocations: 79.95 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3563, allocations: 166.8 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3565, allocations: 120.9 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3565, allocations: 0 / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004863/0.357, allocations: 277.1 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.357, allocations: 4 kB / 1.336 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.357, allocations: 0 / 1.336 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.357, allocations: 8.062 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3572, allocations: 35.92 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3572, allocations: 0 / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3574, allocations: 31.86 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.3575, allocations: 12 kB / 1.337 GB, free: 6.277 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.0002576/0.3577, allocations: 218.1 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.3578, allocations: 51.67 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.3582, allocations: 194.4 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3582, allocations: 0 / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3582, allocations: 0 / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3582, allocations: 0 / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.3586, allocations: 336.4 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3586, allocations: 0 / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.3587, allocations: 8 kB / 1.337 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3587, allocations: 3.938 kB / 1.337 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3587, allocations: 11.98 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3587, allocations: 0 / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3587, allocations: 0 / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.3592, allocations: 273.5 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3593, allocations: 51.59 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.3594, allocations: 8 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3595, allocations: 19.92 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.3596, allocations: 23.95 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3596, allocations: 4 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005634/0.3602, allocations: 447 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003172/0.3605, allocations: 59.89 kB / 1.338 GB, free: 4.531 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.002481/0.363, allocations: 1.153 MB / 1.339 GB, free: 3.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.3633, allocations: 153.7 kB / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3633, allocations: 0 / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3634, allocations: 59.47 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3639, allocations: 78.05 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.3691, allocations: 3.842 MB / 1.343 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3694, allocations: 258.5 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.3695, allocations: 50.95 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.3698, allocations: 163.4 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of SimCode: time 1.142e-06/0.3698, allocations: 0 / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/0.4135, allocations: 10.2 MB / 1.354 GB, free: 4.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 13.22 kB / 1.354 GB, free: 4.742 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: 18.533879474009154]