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.0009393/0.0009393, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.0009371/0.0009371, allocations: 169 kB / 23.02 MB, free: 1.551 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.8888/0.8888, allocations: 177.1 MB / 203.4 MB, free: 5.609 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 1.985/1.985, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 1.283e-06/1.283e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.605e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002653/0.002669, allocations: 2.473 MB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004408, allocations: 1.631 MB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.004552, allocations: 7.938 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.005083, allocations: 220.1 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.005462, allocations: 209.7 kB / 0.8826 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.005742, allocations: 163.3 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.006077, allocations: 370.7 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.00622, allocations: 56.89 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.00673, allocations: 244.8 kB / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006883, allocations: 120.6 kB / 0.8835 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.006914, allocations: 20 kB / 0.8835 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.007018, allocations: 64.56 kB / 0.8836 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.007107, allocations: 136.9 kB / 0.8837 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/0.007184, allocations: 95.58 kB / 0.8838 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.007532, allocations: 330.6 kB / 0.8841 GB, free: 224 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007535, allocations: 4 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007536, allocations: 1.281 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.007541, allocations: 3.938 kB / 0.8842 GB, free: 216 kB / 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.0007889/0.00833, allocations: 0.8656 MB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.008364, allocations: 12.03 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.008451, allocations: 72.52 kB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.008792, allocations: 371.9 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.008814, allocations: 12.38 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.008838, allocations: 12.38 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.009029, allocations: 177.5 kB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.009036, allocations: 0 / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.009051, allocations: 15.92 kB / 0.8856 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.009058, allocations: 4 kB / 0.8856 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.009151, allocations: 47.95 kB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.009795, allocations: 0.5929 MB / 0.8863 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.009957, allocations: 99.2 kB / 0.8864 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.009996, allocations: 27.67 kB / 0.8864 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.01001, allocations: 8 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.01014, allocations: 144.4 kB / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.01014, allocations: 0 / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002423/0.01038, allocations: 165.2 kB / 0.8867 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.01041, allocations: 51.41 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.01083, allocations: 0.6246 MB / 0.8874 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.01085, allocations: 33.7 kB / 0.8874 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.01101, allocations: 335.1 kB / 0.8877 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01104, allocations: 39.73 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.0111, allocations: 59.3 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.01131, allocations: 0.5703 MB / 0.8884 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.01136, allocations: 27.98 kB / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.01145, allocations: 130.1 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.01155, allocations: 77.45 kB / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01155, allocations: 0 / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00019/0.01174, allocations: 197.2 kB / 0.8888 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01175, allocations: 7.984 kB / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01175, allocations: 0 / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01177, allocations: 4 kB / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01187, allocations: 35.98 kB / 0.8888 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01188, allocations: 0 / 0.8888 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.01196, allocations: 23.92 kB / 0.8888 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01197, allocations: 8 kB / 0.8888 GB, free: 11.13 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 9.862e-05/0.01207, allocations: 180.4 kB / 0.889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.01211, allocations: 59.62 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.0123, allocations: 150.5 kB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.0123, allocations: 0 / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.0123, allocations: 4 kB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.0123, allocations: 0 / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.01254, allocations: 344.3 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01254, allocations: 0 / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.01258, allocations: 8 kB / 0.8896 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01258, allocations: 0 / 0.8896 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.0126, allocations: 7.984 kB / 0.8896 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.0126, allocations: 0 / 0.8896 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0126, allocations: 3.938 kB / 0.8896 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.01281, allocations: 223.3 kB / 0.8898 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.01286, allocations: 63.56 kB / 0.8898 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.01288, allocations: 8 kB / 0.8899 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.01294, allocations: 11.98 kB / 0.8899 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.01299, allocations: 19.95 kB / 0.8899 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.013, allocations: 8 kB / 0.8899 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002396/0.01324, allocations: 383 kB / 0.8903 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01324, allocations: 0 / 0.8903 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001945/0.01344, allocations: 63.92 kB / 0.8903 GB, free: 9.559 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.0007797/0.01422, allocations: 404.8 kB / 0.8907 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.0144, allocations: 102.7 kB / 0.8908 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0144, allocations: 0 / 0.8908 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.01446, allocations: 51.72 kB / 0.8908 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01472, allocations: 76.06 kB / 0.8909 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01572, allocations: 0.7306 MB / 0.8916 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.01579, allocations: 136.2 kB / 0.8918 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.825e-05/0.01587, allocations: 50.88 kB / 0.8918 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01593, allocations: 32.5 kB / 0.8918 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01593, allocations: 0 / 0.8918 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.006952/0.02288, allocations: 4.404 MB / 0.8961 GB, free: 3.738 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: 5.206444794777781]