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.001634/0.001634, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001797/0.001797, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.216/3.216, allocations: 0.4892 GB / 0.7951 GB, free: 35.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.002126/0.002126, allocations: 71.66 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.349, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004477/0.3535, allocations: 2.382 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.3565, allocations: 1.568 MB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.3567, allocations: 3.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.3575, allocations: 211 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.358, allocations: 207 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3584, allocations: 151.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.3588, allocations: 362.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.359, allocations: 60.88 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.3592, allocations: 155.3 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.3595, allocations: 151.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.3595, allocations: 24 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3597, allocations: 63.98 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3598, allocations: 127.6 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.36, allocations: 142.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.3607, allocations: 0.521 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3607, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3607, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3607, allocations: 4 kB / 1.332 GB, free: 11.76 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.001335/0.362, allocations: 0.7522 MB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.362, allocations: 8.031 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3621, allocations: 60.56 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.3627, allocations: 379.4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3628, allocations: 8.375 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.3628, allocations: 19.94 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.3631, allocations: 193.9 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3632, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.3632, allocations: 4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3632, allocations: 4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3634, allocations: 87.89 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000993/0.3644, allocations: 0.5234 MB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3647, allocations: 138.6 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.3648, allocations: 52.81 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3648, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3651, allocations: 154.8 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.3651, allocations: 0 / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004829/0.3656, allocations: 213.5 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3656, allocations: 59.34 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.3664, allocations: 0.6681 MB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3664, allocations: 37.7 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.3667, allocations: 260.4 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3667, allocations: 35.72 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.3668, allocations: 65.58 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.367, allocations: 366.8 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3672, allocations: 75.97 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3674, allocations: 166.8 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.3676, allocations: 128.1 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3676, allocations: 0 / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004393/0.368, allocations: 285.1 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3681, allocations: 4 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3681, allocations: 3.984 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3681, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3683, allocations: 39.92 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3683, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.3684, allocations: 27.88 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.3685, allocations: 7.984 kB / 1.337 GB, free: 6.75 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.0002446/0.3687, allocations: 218.2 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.3688, allocations: 51.67 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.3692, allocations: 195.5 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3692, allocations: 4 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3692, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3692, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.3695, allocations: 285.2 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3695, allocations: 7.875 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.3696, allocations: 11.94 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3696, allocations: 4 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3696, allocations: 11.98 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3696, allocations: 0 / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3696, allocations: 0 / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.3701, allocations: 261.9 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3702, allocations: 63.53 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.3702, allocations: 4 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3703, allocations: 11.98 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.3704, allocations: 23.95 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.3704, allocations: 12 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005211/0.371, allocations: 451 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 4 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002987/0.3713, allocations: 63.89 kB / 1.339 GB, free: 5.043 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.001702/0.373, allocations: 451.2 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3733, allocations: 143.9 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3733, allocations: 3.938 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3734, allocations: 59.97 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3739, allocations: 85.98 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3754, allocations: 0.8973 MB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3757, allocations: 258.5 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.3758, allocations: 31.42 kB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3758, allocations: 0 / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of Templates: time 0.00975/0.3855, allocations: 5.707 MB / 1.346 GB, free: 13.57 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.260654690209776]