Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 193.2 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.5 MB / 0.7293 GB, free: 14.59 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.91 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004568/0.3666, allocations: 2.471 MB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.3692, allocations: 1.51 MB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.3693, allocations: 7.938 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.37, allocations: 222.9 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.3704, allocations: 151.2 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.3709, allocations: 195.5 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.3714, allocations: 342.9 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.3716, allocations: 64.72 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.3718, allocations: 143.3 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.372, allocations: 167.2 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.3721, allocations: 20 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3722, allocations: 59.97 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3724, allocations: 127.5 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.3726, allocations: 190.6 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.3733, allocations: 0.5093 MB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3733, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3733, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.3733, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 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.00145/0.3747, allocations: 0.8237 MB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3748, allocations: 8.031 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3749, allocations: 68.5 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.3755, allocations: 432.4 kB / 1.221 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3755, allocations: 12.36 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.3756, allocations: 15.94 kB / 1.221 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.3759, allocations: 134.3 kB / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3759, allocations: 0 / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.3759, allocations: 8 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3759, allocations: 0 / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3761, allocations: 88.59 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3772, allocations: 0.6408 MB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3777, allocations: 130.5 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3778, allocations: 44.84 kB / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3778, allocations: 0 / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.378, allocations: 107.3 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.378, allocations: 0 / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005076/0.3785, allocations: 221.5 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3786, allocations: 51.41 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.3794, allocations: 0.6515 MB / 1.223 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3794, allocations: 33.7 kB / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.3796, allocations: 256.5 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3797, allocations: 39.69 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3798, allocations: 57.69 kB / 1.224 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.38, allocations: 362.8 kB / 1.224 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3801, allocations: 79.97 kB / 1.224 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3803, allocations: 119.4 kB / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.3806, allocations: 130.8 kB / 1.224 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3806, allocations: 4 kB / 1.224 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004539/0.381, allocations: 269.1 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3811, allocations: 4 kB / 1.225 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3811, allocations: 0 / 1.225 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3811, allocations: 4.062 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3813, allocations: 43.91 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3813, allocations: 4 kB / 1.225 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3814, allocations: 23.94 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3815, allocations: 11.94 kB / 1.225 GB, free: 5.656 MB / 0.9669 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.0002401/0.3817, allocations: 208.5 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.3818, allocations: 55.62 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3819, allocations: 60.66 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3819, allocations: 0 / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3819, allocations: 4 kB / 1.225 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3819, allocations: 4 kB / 1.225 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.3824, allocations: 377.3 kB / 1.225 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3824, allocations: 3.938 kB / 1.225 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3824, allocations: 11.98 kB / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3824, allocations: 4 kB / 1.225 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3824, allocations: 4 kB / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3825, allocations: 0 / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3825, allocations: 0 / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.3829, allocations: 272.6 kB / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3831, allocations: 128.8 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.3831, allocations: 7.984 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3833, allocations: 11.98 kB / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.3833, allocations: 19.97 kB / 1.226 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3834, allocations: 4 kB / 1.226 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005593/0.3839, allocations: 442.8 kB / 1.226 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 1.226 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003094/0.3842, allocations: 59.89 kB / 1.226 GB, free: 3.922 MB / 0.9669 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.001598/0.3858, allocations: 429.3 kB / 1.227 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.3862, allocations: 145.9 kB / 1.227 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3862, allocations: 3.938 kB / 1.227 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3863, allocations: 55.98 kB / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3868, allocations: 75.38 kB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3883, allocations: 0.8962 MB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.3888, allocations: 0.8572 MB / 1.229 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.3889, allocations: 27.42 kB / 1.229 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3889, allocations: 0 / 1.229 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.00917/0.3981, allocations: 5.462 MB / 1.234 GB, free: 12.12 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.742939189076424]