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.001836/0.001836, allocations: 104.4 kB / 16.45 MB, free: 6.453 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.002179/0.002179, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.622/1.622, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.347/3.347, allocations: 0.4899 GB / 0.7915 GB, free: 33.53 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.00201/0.00201, allocations: 63.69 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00478/0.3756, allocations: 2.465 MB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3787, allocations: 1.673 MB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3789, allocations: 11.88 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.3797, allocations: 222.9 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.3803, allocations: 199 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3808, allocations: 155.5 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.3813, allocations: 358.8 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.3816, allocations: 60.7 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3818, allocations: 159.3 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3821, allocations: 163.2 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.3821, allocations: 20 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.3823, allocations: 71.97 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3825, allocations: 131.5 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3827, allocations: 186.6 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.3834, allocations: 0.5132 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3834, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3834, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.3834, allocations: 4 kB / 1.327 GB, free: 12.42 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.001489/0.3849, allocations: 0.8314 MB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.385, allocations: 11.98 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.3851, allocations: 64.56 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.3857, allocations: 437.3 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3857, allocations: 12.38 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.3858, allocations: 23.88 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.3861, allocations: 138.3 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3861, allocations: 0 / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3862, allocations: 4 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3862, allocations: 4 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3864, allocations: 83.95 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.3875, allocations: 0.6369 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.388, allocations: 126.6 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3881, allocations: 48.78 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.3881, allocations: 7.969 kB / 1.33 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3883, allocations: 107.3 kB / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3883, allocations: 0 / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005049/0.3888, allocations: 217.5 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3889, allocations: 51.41 kB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.3898, allocations: 0.6719 MB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3898, allocations: 37.7 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.3901, allocations: 260.5 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.3901, allocations: 35.73 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.3902, allocations: 53.66 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3904, allocations: 374.8 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3906, allocations: 71.97 kB / 1.332 GB, free: 7.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3908, allocations: 128.2 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.391, allocations: 131.7 kB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.391, allocations: 0 / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004707/0.3915, allocations: 278.9 kB / 1.332 GB, free: 7.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3915, allocations: 4 kB / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3915, allocations: 0 / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3916, allocations: 4 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3917, allocations: 31.98 kB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3917, allocations: 8.062 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3919, allocations: 31.86 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.392, allocations: 7.938 kB / 1.332 GB, free: 7.297 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.0002457/0.3922, allocations: 208.3 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.3923, allocations: 55.62 kB / 1.332 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3924, allocations: 56.78 kB / 1.333 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/0.3924, allocations: 4 kB / 1.333 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3924, allocations: 4 kB / 1.333 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3924, allocations: 0 / 1.333 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3929, allocations: 377.4 kB / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3929, allocations: 0 / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.3929, allocations: 11.94 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3929, allocations: 7.922 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.393, allocations: 4 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.393, allocations: 7.984 kB / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.393, allocations: 0 / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.3934, allocations: 265.2 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3936, allocations: 132.7 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3936, allocations: 12 kB / 1.333 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3938, allocations: 11.98 kB / 1.333 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.3938, allocations: 19.97 kB / 1.333 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3939, allocations: 11.98 kB / 1.333 GB, free: 6.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005125/0.3944, allocations: 439 kB / 1.334 GB, free: 5.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3944, allocations: 4.062 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003088/0.3947, allocations: 63.88 kB / 1.334 GB, free: 5.543 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 (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.001614/0.3963, allocations: 434.2 kB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.3967, allocations: 143.9 kB / 1.334 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3967, allocations: 0 / 1.334 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3969, allocations: 63.78 kB / 1.334 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.3973, allocations: 80.66 kB / 1.335 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3988, allocations: 0.8595 MB / 1.335 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3994, allocations: 0.8688 MB / 1.336 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.3995, allocations: 34.28 kB / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.3996, allocations: 31.42 kB / 1.336 GB, free: 3.145 MB / 1.029 GB Notification: Performance of SimCode: time 1.102e-06/0.3996, allocations: 3.938 kB / 1.336 GB, free: 3.141 MB / 1.029 GB Notification: Performance of Templates: time 0.01029/0.4099, allocations: 4.111 MB / 1.34 GB, free: 15.06 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/jenkins/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: 9.53544904012233]