Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001639/0.001639, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001958/0.001958, allocations: 173 kB / 23.49 MB, free: 1.062 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.999/0.999, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.18/2.18, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/3.997e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.0042/0.00424, allocations: 2.46 MB / 0.8806 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.00643, allocations: 1.617 MB / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.006605, allocations: 7.938 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.007291, allocations: 222.9 kB / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.007723, allocations: 200.2 kB / 0.8826 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.007987, allocations: 168.6 kB / 0.8828 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.008356, allocations: 366.7 kB / 0.8831 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.008569, allocations: 60.88 kB / 0.8832 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.008776, allocations: 200.5 kB / 0.8834 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.008957, allocations: 127.6 kB / 0.8835 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.008994, allocations: 28.59 kB / 0.8835 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.009116, allocations: 57.58 kB / 0.8836 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.009247, allocations: 135.5 kB / 0.8837 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.009351, allocations: 99.58 kB / 0.8838 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.009775, allocations: 338.5 kB / 0.8841 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.009778, allocations: 0 / 0.8841 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00978, allocations: 2.781 kB / 0.8841 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.009787, allocations: 0 / 0.8841 GB, free: 0.5547 MB / 0.8386 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.001067/0.01085, allocations: 0.8756 MB / 0.885 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.0109, allocations: 8.031 kB / 0.885 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.01101, allocations: 68.56 kB / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.01145, allocations: 367.2 kB / 0.8854 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01148, allocations: 12.38 kB / 0.8854 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.01151, allocations: 20.31 kB / 0.8854 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.01177, allocations: 167.8 kB / 0.8856 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.01178, allocations: 0 / 0.8856 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.0118, allocations: 5.656 kB / 0.8856 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01181, allocations: 4 kB / 0.8856 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.01194, allocations: 52.88 kB / 0.8856 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.01275, allocations: 0.5983 MB / 0.8862 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.01297, allocations: 103 kB / 0.8863 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.01302, allocations: 31.86 kB / 0.8864 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01305, allocations: 0 / 0.8864 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.01325, allocations: 148.3 kB / 0.8865 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.324e-06/0.01325, allocations: 0 / 0.8865 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0003324/0.01358, allocations: 173.2 kB / 0.8867 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.01362, allocations: 51.41 kB / 0.8867 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.01413, allocations: 0.6207 MB / 0.8873 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.01416, allocations: 37.69 kB / 0.8874 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.01436, allocations: 335.1 kB / 0.8877 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.0144, allocations: 39.69 kB / 0.8877 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01447, allocations: 59.34 kB / 0.8878 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01467, allocations: 0.5587 MB / 0.8883 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.01474, allocations: 35.97 kB / 0.8883 GB, free: 12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01485, allocations: 127.2 kB / 0.8885 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.01496, allocations: 81.45 kB / 0.8885 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01496, allocations: 0 / 0.8885 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002275/0.01519, allocations: 194.8 kB / 0.8887 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01521, allocations: 12 kB / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01521, allocations: 0 / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01523, allocations: 0 / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01537, allocations: 39.92 kB / 0.8888 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01538, allocations: 7.938 kB / 0.8888 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.01546, allocations: 19.88 kB / 0.8888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.01548, allocations: 12 kB / 0.8888 GB, free: 11.47 MB / 0.8542 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.0001127/0.01559, allocations: 164.6 kB / 0.889 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.01564, allocations: 71.56 kB / 0.889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.01586, allocations: 146.4 kB / 0.8892 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01586, allocations: 4 kB / 0.8892 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01587, allocations: 0 / 0.8892 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01587, allocations: 3.984 kB / 0.8892 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.01615, allocations: 328.5 kB / 0.8895 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01615, allocations: 8 kB / 0.8895 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.0162, allocations: 11.98 kB / 0.8895 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.0162, allocations: 3.984 kB / 0.8895 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01622, allocations: 7.938 kB / 0.8895 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01622, allocations: 4 kB / 0.8895 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01622, allocations: 4 kB / 0.8895 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.01648, allocations: 222.7 kB / 0.8898 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.01653, allocations: 55.56 kB / 0.8898 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.01657, allocations: 15.92 kB / 0.8898 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.01663, allocations: 4 kB / 0.8898 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.0167, allocations: 23.95 kB / 0.8898 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01671, allocations: 4 kB / 0.8899 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002736/0.01698, allocations: 387 kB / 0.8902 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01698, allocations: 0 / 0.8902 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001997/0.01718, allocations: 63.89 kB / 0.8903 GB, free: 9.902 MB / 0.8542 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.0009563/0.01814, allocations: 402.5 kB / 0.8907 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.01835, allocations: 108.1 kB / 0.8908 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01835, allocations: 0 / 0.8908 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.01841, allocations: 43.61 kB / 0.8908 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01871, allocations: 75.83 kB / 0.8909 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.0198, allocations: 0.7384 MB / 0.8916 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.01988, allocations: 124.2 kB / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.313e-05/0.01996, allocations: 50.92 kB / 0.8918 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.02002, allocations: 32.48 kB / 0.8918 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/0.02002, allocations: 0 / 0.8918 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of Templates: time 0.007957/0.02798, allocations: 4.231 MB / 0.8959 GB, free: 4.258 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.207657680846751]