Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001809/0.001809, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002351/0.002351, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7715 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_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.002072/0.002072, allocations: 75.62 kB / 1.118 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 169.9 MB / 1.284 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004507/0.3676, allocations: 2.495 MB / 1.287 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3705, allocations: 1.681 MB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.3708, allocations: 7.938 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.3715, allocations: 222.9 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.372, allocations: 199 kB / 1.289 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3724, allocations: 163.5 kB / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.3728, allocations: 362.8 kB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.373, allocations: 60.89 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3733, allocations: 159.3 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.3735, allocations: 167.2 kB / 1.29 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.3735, allocations: 20 kB / 1.29 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3737, allocations: 63.97 kB / 1.29 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3738, allocations: 123.5 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.374, allocations: 202.5 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.3746, allocations: 0.5054 MB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3746, allocations: 4 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3746, allocations: 0 / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3746, allocations: 0 / 1.29 GB, free: 13.41 MB / 0.9981 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.001374/0.376, allocations: 0.7601 MB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.376, allocations: 8.031 kB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.698e-05/0.376, allocations: 4.188 kB / 1.291 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.3761, allocations: 42.75 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3762, allocations: 64.52 kB / 1.291 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.3768, allocations: 383.3 kB / 1.292 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3768, allocations: 15.94 kB / 1.292 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3768, allocations: 16 kB / 1.292 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.3772, allocations: 133.6 kB / 1.292 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3772, allocations: 7.922 kB / 1.292 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3772, allocations: 12 kB / 1.292 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3772, allocations: 4 kB / 1.292 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3774, allocations: 79.95 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3785, allocations: 0.6047 MB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.3789, allocations: 134.6 kB / 1.293 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3791, allocations: 40.84 kB / 1.293 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3791, allocations: 0 / 1.293 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.3793, allocations: 115.2 kB / 1.293 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3793, allocations: 0 / 1.293 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004941/0.3798, allocations: 217.2 kB / 1.293 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3799, allocations: 63.39 kB / 1.293 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.3807, allocations: 0.6603 MB / 1.294 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3807, allocations: 33.7 kB / 1.294 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.381, allocations: 256.4 kB / 1.294 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.381, allocations: 35.73 kB / 1.294 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.3811, allocations: 61.64 kB / 1.294 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3813, allocations: 374.7 kB / 1.294 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3814, allocations: 71.97 kB / 1.294 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3816, allocations: 115.4 kB / 1.295 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3819, allocations: 129.6 kB / 1.295 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3819, allocations: 0 / 1.295 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004409/0.3823, allocations: 279.2 kB / 1.295 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3823, allocations: 4 kB / 1.295 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3823, allocations: 0 / 1.295 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3823, allocations: 4 kB / 1.295 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3825, allocations: 39.91 kB / 1.295 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3825, allocations: 4 kB / 1.295 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3827, allocations: 23.92 kB / 1.295 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3827, allocations: 7.984 kB / 1.295 GB, free: 8.438 MB / 0.9981 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.0002479/0.383, allocations: 210.9 kB / 1.295 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.383, allocations: 59.62 kB / 1.295 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.3834, allocations: 186.4 kB / 1.295 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3834, allocations: 0 / 1.295 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.3834, allocations: 0 / 1.295 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3834, allocations: 3.984 kB / 1.295 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.3839, allocations: 360.3 kB / 1.296 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3839, allocations: 0 / 1.296 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.3839, allocations: 11.94 kB / 1.296 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3839, allocations: 8 kB / 1.296 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3839, allocations: 0 / 1.296 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3839, allocations: 3.984 kB / 1.296 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3839, allocations: 0 / 1.296 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.3844, allocations: 265.1 kB / 1.296 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.3845, allocations: 59.64 kB / 1.296 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3846, allocations: 0 / 1.296 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3847, allocations: 20.05 kB / 1.296 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.3848, allocations: 27.89 kB / 1.296 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3848, allocations: 7.984 kB / 1.296 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004967/0.3853, allocations: 443 kB / 1.297 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3853, allocations: 0 / 1.297 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002989/0.3856, allocations: 55.94 kB / 1.297 GB, free: 6.684 MB / 0.9981 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 (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.002224/0.3879, allocations: 1.134 MB / 1.298 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.3882, allocations: 143.8 kB / 1.298 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3882, allocations: 4 kB / 1.298 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3883, allocations: 55.91 kB / 1.298 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3888, allocations: 76.02 kB / 1.298 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.394, allocations: 3.855 MB / 1.302 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.3945, allocations: 0.861 MB / 1.303 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.3947, allocations: 38.27 kB / 1.303 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.395, allocations: 167.4 kB / 1.303 GB, free: 384 kB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.395, allocations: 0 / 1.303 GB, free: 384 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.4316, allocations: 9.574 MB / 1.312 GB, free: 6.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.13, allocations: 3.938 kB / 1.312 GB, free: 6.93 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.044831580016762]