Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001441/0.001441, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001865/0.001865, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 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 0.9764/0.9764, allocations: 177.1 MB / 204.2 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.804e-05, allocations: 2.859 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002894/0.002912, allocations: 2.472 MB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.004876, allocations: 1.623 MB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.005028, allocations: 7.938 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.005587, allocations: 221.1 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.006016, allocations: 206.4 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.00633, allocations: 159.4 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.00668, allocations: 367.4 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.006829, allocations: 62.17 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.007349, allocations: 251 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.007512, allocations: 125.2 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.007545, allocations: 20 kB / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007658, allocations: 67.89 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.303e-05/0.007751, allocations: 123.5 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.007832, allocations: 100.9 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.0082, allocations: 334.5 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008203, allocations: 0 / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.008204, allocations: 4 kB / 0.7931 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.008209, allocations: 1.281 kB / 0.7931 GB, free: 6.426 MB / 0.7448 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.000783/0.008992, allocations: 0.8644 MB / 0.7939 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.009029, allocations: 12.56 kB / 0.7939 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.009118, allocations: 72.52 kB / 0.794 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.009453, allocations: 368.8 kB / 0.7943 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.009476, allocations: 13.19 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.009504, allocations: 12.38 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.009708, allocations: 170.8 kB / 0.7945 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.009717, allocations: 5.312 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.009732, allocations: 7.984 kB / 0.7945 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.009739, allocations: 4 kB / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.009836, allocations: 45.12 kB / 0.7946 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.01048, allocations: 0.5936 MB / 0.7952 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01065, allocations: 99.94 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.01069, allocations: 28.48 kB / 0.7953 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.0107, allocations: 4 kB / 0.7953 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.01083, allocations: 145.2 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.01084, allocations: 4 kB / 0.7954 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002552/0.01109, allocations: 166.4 kB / 0.7956 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.01112, allocations: 51.41 kB / 0.7956 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.01155, allocations: 0.6246 MB / 0.7963 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.01157, allocations: 34.67 kB / 0.7963 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.01174, allocations: 335.1 kB / 0.7966 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.01178, allocations: 42.05 kB / 0.7967 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.01184, allocations: 55.36 kB / 0.7967 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.012, allocations: 0.5586 MB / 0.7972 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.01205, allocations: 35.92 kB / 0.7973 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.01214, allocations: 134 kB / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.01224, allocations: 81.05 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01224, allocations: 0 / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001985/0.01244, allocations: 200.1 kB / 0.7977 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01245, allocations: 11.92 kB / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.01245, allocations: 0 / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01246, allocations: 0 / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01257, allocations: 35.92 kB / 0.7977 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01258, allocations: 0 / 0.7977 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.01265, allocations: 28.91 kB / 0.7978 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01267, allocations: 4 kB / 0.7978 GB, free: 1.363 MB / 0.7448 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 9.571e-05/0.01276, allocations: 169.6 kB / 0.7979 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.0128, allocations: 56.19 kB / 0.798 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.013, allocations: 169.5 kB / 0.7981 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.013, allocations: 1.188 kB / 0.7981 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.013, allocations: 0 / 0.7981 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01301, allocations: 3.984 kB / 0.7981 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.01323, allocations: 341.2 kB / 0.7985 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01323, allocations: 0 / 0.7985 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.01328, allocations: 9.062 kB / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01328, allocations: 0 / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01329, allocations: 7.984 kB / 0.7985 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.0133, allocations: 8.594 kB / 0.7985 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0133, allocations: 0 / 0.7985 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.01351, allocations: 221.7 kB / 0.7987 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.01355, allocations: 51.59 kB / 0.7987 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.01358, allocations: 8 kB / 0.7988 GB, free: 276 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.01364, allocations: 19.33 kB / 0.7988 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.01369, allocations: 19.95 kB / 0.7988 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.0137, allocations: 8 kB / 0.7988 GB, free: 232 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002579/0.01396, allocations: 383 kB / 0.7992 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01396, allocations: 0 / 0.7992 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001922/0.01415, allocations: 67.88 kB / 0.7992 GB, free: 15.79 MB / 0.7605 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.0007973/0.01495, allocations: 401.2 kB / 0.7996 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.01512, allocations: 96.55 kB / 0.7997 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.01512, allocations: 3.938 kB / 0.7997 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.01518, allocations: 47.66 kB / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01545, allocations: 76.77 kB / 0.7998 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.01636, allocations: 0.7346 MB / 0.8005 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.01643, allocations: 136.2 kB / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.01651, allocations: 38.94 kB / 0.8007 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01657, allocations: 28.5 kB / 0.8007 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01657, allocations: 0 / 0.8007 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of Templates: time 0.007099/0.02367, allocations: 4.42 MB / 0.8051 GB, free: 9.992 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.733799393288791]