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.001627/0.001627, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001979/0.001979, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.002057/0.002057, allocations: 63.94 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004332/0.3466, allocations: 2.384 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.3495, allocations: 1.548 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.3497, allocations: 7.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.3504, allocations: 226.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.3509, allocations: 199 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3513, allocations: 159.6 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.3518, allocations: 362.8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3519, allocations: 64.83 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3521, allocations: 139.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.3523, allocations: 155.2 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.3524, allocations: 28 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3525, allocations: 67.95 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3527, allocations: 131.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3528, allocations: 142.9 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.3535, allocations: 0.5093 MB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3535, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3535, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3535, allocations: 4 kB / 1.333 GB, free: 10.83 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.001341/0.3548, allocations: 0.7639 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3549, allocations: 8.031 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.355, allocations: 64.52 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.3556, allocations: 367.5 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3556, allocations: 12.31 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.3556, allocations: 15.94 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.356, allocations: 190.6 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.356, allocations: 0 / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.356, allocations: 8 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.356, allocations: 8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.3562, allocations: 83.95 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.3572, allocations: 0.5272 MB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3576, allocations: 130.8 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3577, allocations: 44.78 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3577, allocations: 8 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.3579, allocations: 154.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.3579, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004864/0.3584, allocations: 209.3 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3585, allocations: 59.39 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.3593, allocations: 0.6681 MB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3593, allocations: 29.7 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3596, allocations: 260.4 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3596, allocations: 39.73 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3597, allocations: 69.52 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3599, allocations: 366.8 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3601, allocations: 83.89 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3603, allocations: 173.4 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3606, allocations: 119.7 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3606, allocations: 3.984 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004498/0.361, allocations: 278.4 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.361, allocations: 10.34 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.361, allocations: 0 / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.361, allocations: 4.062 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3612, allocations: 31.98 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3613, allocations: 7.938 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.3614, allocations: 35.86 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3615, allocations: 8 kB / 1.338 GB, free: 5.812 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.000237/0.3617, allocations: 210.2 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.3618, allocations: 51.67 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.3622, allocations: 198.3 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3622, allocations: 4 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3622, allocations: 0 / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3622, allocations: 0 / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3625, allocations: 293.1 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.3625, allocations: 3.938 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.3626, allocations: 11.98 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3626, allocations: 0 / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3626, allocations: 4 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3626, allocations: 4 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3626, allocations: 0 / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3631, allocations: 272.6 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.3632, allocations: 55.53 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.3632, allocations: 11.98 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3633, allocations: 15.98 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.3634, allocations: 19.97 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3634, allocations: 11.92 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000516/0.3639, allocations: 443 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003166/0.3643, allocations: 59.89 kB / 1.339 GB, free: 4.117 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.001695/0.366, allocations: 471.3 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.3663, allocations: 149.7 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3663, allocations: 0 / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3664, allocations: 51.92 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3669, allocations: 70.89 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3684, allocations: 0.8935 MB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3687, allocations: 262.5 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.3687, allocations: 27.42 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3687, allocations: 0 / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of Templates: time 0.009622/0.3784, allocations: 5.719 MB / 1.347 GB, free: 12.64 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.406020213849843]