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.001607/0.001607, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001996/0.001996, allocations: 214 kB / 23.01 MB, free: 4.566 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.8 MB, free: 8.012 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.166/3.166, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [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.002954/0.002954, allocations: 75.36 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3844, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004437/0.3888, allocations: 2.502 MB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3918, allocations: 1.681 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.392, allocations: 11.88 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.3928, allocations: 214.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.3933, allocations: 203.1 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3937, allocations: 159.5 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.3942, allocations: 358.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.3944, allocations: 72.75 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.3947, allocations: 151.4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.395, allocations: 163.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.3951, allocations: 20 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.3952, allocations: 67.98 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3954, allocations: 131.5 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3956, allocations: 190.6 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.3962, allocations: 0.5132 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3962, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3962, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3963, allocations: 0 / 1.333 GB, free: 11.02 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.001368/0.3976, allocations: 0.7561 MB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3977, allocations: 8.031 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3978, allocations: 68.52 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.3984, allocations: 379.4 kB / 1.335 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3984, allocations: 12.31 kB / 1.335 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.3985, allocations: 19.94 kB / 1.335 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.3988, allocations: 130.3 kB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3988, allocations: 0 / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3988, allocations: 4 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3988, allocations: 4 kB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.399, allocations: 87.94 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4001, allocations: 0.6047 MB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4005, allocations: 134.6 kB / 1.336 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4006, allocations: 48.78 kB / 1.336 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.4007, allocations: 4 kB / 1.336 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.4009, allocations: 107.3 kB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.4009, allocations: 0 / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004903/0.4014, allocations: 213.2 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4015, allocations: 59.41 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.4023, allocations: 0.6564 MB / 1.337 GB, free: 7.582 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4023, allocations: 37.69 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4025, allocations: 264.4 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.4026, allocations: 35.72 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4027, allocations: 65.58 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4029, allocations: 366.8 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.4031, allocations: 83.97 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.4033, allocations: 115.3 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.4035, allocations: 128.5 kB / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4035, allocations: 0 / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004414/0.4039, allocations: 281 kB / 1.338 GB, free: 6.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.404, allocations: 8 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.404, allocations: 4.062 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.404, allocations: 0 / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.4042, allocations: 39.97 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4042, allocations: 4 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4044, allocations: 23.88 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4044, allocations: 11.98 kB / 1.338 GB, free: 6.094 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.0002426/0.4046, allocations: 214.2 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.4047, allocations: 55.67 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.4051, allocations: 186.7 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.4051, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4051, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4051, allocations: 7.984 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.4055, allocations: 344.4 kB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4055, allocations: 7.984 kB / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.4056, allocations: 8 kB / 1.339 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.4056, allocations: 0 / 1.339 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4056, allocations: 4 kB / 1.339 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4056, allocations: 4 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4056, allocations: 0 / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.406, allocations: 272.5 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4061, allocations: 55.64 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4062, allocations: 8 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4063, allocations: 7.984 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.4064, allocations: 28.03 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4064, allocations: 11.98 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005281/0.4069, allocations: 435 kB / 1.34 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4069, allocations: 4 kB / 1.34 GB, free: 4.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003071/0.4072, allocations: 59.94 kB / 1.34 GB, free: 4.344 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 (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.001652/0.4089, allocations: 432.2 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.4093, allocations: 149.9 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4093, allocations: 0 / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4094, allocations: 55.91 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.4099, allocations: 73.72 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4114, allocations: 0.9086 MB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.412, allocations: 0.865 MB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4121, allocations: 31.42 kB / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4121, allocations: 0 / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of Templates: time 0.009667/0.4217, allocations: 5.535 MB / 1.347 GB, free: 12.43 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] 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: 12.23389743300504]