Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001346/0.001346, allocations: 107.4 kB / 16.45 MB, free: 6.035 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.001414/0.001414, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.219/3.219, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.39 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3323, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004621/0.3369, allocations: 2.438 MB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.3396, allocations: 1.529 MB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.3399, allocations: 7.938 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007996/0.3407, allocations: 223.1 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.3412, allocations: 163.2 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.3418, allocations: 186.7 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.3423, allocations: 346.9 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3425, allocations: 68.69 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.3428, allocations: 143.3 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.343, allocations: 159.3 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.3431, allocations: 24 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3432, allocations: 75.89 kB / 1.309 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3434, allocations: 123.5 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.3436, allocations: 190.6 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.3443, allocations: 0.4977 MB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3443, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3443, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.3443, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 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.001509/0.3458, allocations: 0.8315 MB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3459, allocations: 8.625 kB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/0.3459, allocations: 46.73 kB / 1.311 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3461, allocations: 60.56 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.3467, allocations: 432.4 kB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3468, allocations: 12.12 kB / 1.311 GB, free: 9.883 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3468, allocations: 16 kB / 1.311 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3471, allocations: 138.8 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3471, allocations: 0 / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3471, allocations: 4 kB / 1.311 GB, free: 9.723 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3471, allocations: 4 kB / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.3473, allocations: 80.66 kB / 1.312 GB, free: 9.641 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3486, allocations: 0.6446 MB / 1.312 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.349, allocations: 126.7 kB / 1.312 GB, free: 8.812 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3491, allocations: 40.84 kB / 1.312 GB, free: 8.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3491, allocations: 11.88 kB / 1.312 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.3493, allocations: 111.3 kB / 1.312 GB, free: 8.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3493, allocations: 0 / 1.312 GB, free: 8.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0004974/0.3498, allocations: 209.2 kB / 1.313 GB, free: 8.426 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3499, allocations: 55.41 kB / 1.313 GB, free: 8.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.3507, allocations: 0.6476 MB / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3507, allocations: 37.64 kB / 1.313 GB, free: 7.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.351, allocations: 264.4 kB / 1.314 GB, free: 7.395 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.351, allocations: 39.72 kB / 1.314 GB, free: 7.355 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3511, allocations: 53.7 kB / 1.314 GB, free: 7.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3513, allocations: 370.7 kB / 1.314 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3515, allocations: 79.97 kB / 1.314 GB, free: 6.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3517, allocations: 111.4 kB / 1.314 GB, free: 6.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.3519, allocations: 128.8 kB / 1.314 GB, free: 6.598 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3519, allocations: 0 / 1.314 GB, free: 6.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004941/0.3524, allocations: 277 kB / 1.315 GB, free: 6.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3524, allocations: 10.03 kB / 1.315 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3524, allocations: 0 / 1.315 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3524, allocations: 0 / 1.315 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3526, allocations: 35.92 kB / 1.315 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3526, allocations: 4 kB / 1.315 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3528, allocations: 31.95 kB / 1.315 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3529, allocations: 4 kB / 1.315 GB, free: 6.238 MB / 1.014 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.000249/0.3531, allocations: 217.6 kB / 1.315 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.3532, allocations: 55.62 kB / 1.315 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3533, allocations: 52.66 kB / 1.315 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3533, allocations: 7.984 kB / 1.315 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3533, allocations: 0 / 1.315 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3533, allocations: 3.938 kB / 1.315 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.3537, allocations: 381.3 kB / 1.315 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3537, allocations: 0 / 1.315 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.3538, allocations: 8 kB / 1.315 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3538, allocations: 0 / 1.315 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3538, allocations: 3.984 kB / 1.315 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3538, allocations: 4 kB / 1.315 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3538, allocations: 0 / 1.315 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.3543, allocations: 260.6 kB / 1.316 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3545, allocations: 136.8 kB / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.3545, allocations: 4 kB / 1.316 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3546, allocations: 11.98 kB / 1.316 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3547, allocations: 27.91 kB / 1.316 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3547, allocations: 4 kB / 1.316 GB, free: 4.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005787/0.3553, allocations: 430.7 kB / 1.316 GB, free: 4.566 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 1.316 GB, free: 4.566 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003196/0.3556, allocations: 67.88 kB / 1.316 GB, free: 4.5 MB / 1.014 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.002228/0.3579, allocations: 1.124 MB / 1.317 GB, free: 3.516 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.3582, allocations: 143.9 kB / 1.318 GB, free: 3.375 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3582, allocations: 0 / 1.318 GB, free: 3.375 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3584, allocations: 52.05 kB / 1.318 GB, free: 3.324 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.3588, allocations: 75.77 kB / 1.318 GB, free: 3.254 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.3645, allocations: 3.82 MB / 1.321 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.3651, allocations: 0.8544 MB / 1.322 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.3653, allocations: 42.27 kB / 1.322 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.3656, allocations: 163.4 kB / 1.322 GB, free: 14.25 MB / 1.029 GB Notification: Performance of SimCode: time 1.402e-06/0.3656, allocations: 4 kB / 1.322 GB, free: 14.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/0.4043, allocations: 9.254 MB / 1.331 GB, free: 5.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.221, allocations: 0.5938 kB / 1.331 GB, free: 5.117 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.914220071397722]