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.0009721/0.0009721, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000919/0.000919, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9533/0.9533, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.754/1.754, allocations: 359 MB / 0.6052 GB, free: 11.01 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.423e-06/1.423e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.821e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002953/0.002971, allocations: 2.47 MB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.004962, allocations: 1.623 MB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.00517, allocations: 7.938 kB / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.005816, allocations: 217.3 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.006242, allocations: 205.8 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.006567, allocations: 168.6 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.006926, allocations: 366.7 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.00708, allocations: 53.62 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.007266, allocations: 199.4 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.00742, allocations: 136.8 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.007454, allocations: 24 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.007582, allocations: 57.52 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.007689, allocations: 127.5 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.007777, allocations: 103.6 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.008183, allocations: 342.5 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.008186, allocations: 0.5625 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.008187, allocations: 0 / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.008193, allocations: 1.375 kB / 0.793 GB, free: 6.422 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.001344/0.009538, allocations: 0.8607 MB / 0.7939 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.009573, allocations: 8.031 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.009664, allocations: 78.48 kB / 0.794 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01004, allocations: 365.4 kB / 0.7943 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.01006, allocations: 12.38 kB / 0.7943 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.01009, allocations: 12.94 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.0103, allocations: 178.7 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01031, allocations: 0.7188 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.01032, allocations: 4 kB / 0.7945 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01033, allocations: 1.219 kB / 0.7945 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.01043, allocations: 47.97 kB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.0111, allocations: 0.6024 MB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.01127, allocations: 96.06 kB / 0.7952 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.01132, allocations: 31.67 kB / 0.7953 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01134, allocations: 0.6562 kB / 0.7953 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.01149, allocations: 144.8 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.01149, allocations: 1.125 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002764/0.01177, allocations: 173.2 kB / 0.7956 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.01179, allocations: 55.41 kB / 0.7956 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.01224, allocations: 0.6255 MB / 0.7962 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01226, allocations: 33.7 kB / 0.7963 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.01244, allocations: 335.9 kB / 0.7966 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.01247, allocations: 31.73 kB / 0.7966 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.01253, allocations: 63.36 kB / 0.7967 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01269, allocations: 0.5608 MB / 0.7972 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.01275, allocations: 35.86 kB / 0.7973 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.01284, allocations: 128.5 kB / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.01294, allocations: 77.39 kB / 0.7974 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01294, allocations: 2.781 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002118/0.01316, allocations: 195.3 kB / 0.7976 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01317, allocations: 11.94 kB / 0.7976 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01317, allocations: 3.938 kB / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01319, allocations: 0 / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01332, allocations: 43.91 kB / 0.7977 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01333, allocations: 4 kB / 0.7977 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.01341, allocations: 25.34 kB / 0.7977 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01343, allocations: 4 kB / 0.7977 GB, free: 1.355 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.702e-05/0.01352, allocations: 169.1 kB / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01357, allocations: 68.34 kB / 0.798 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.01378, allocations: 161.1 kB / 0.7981 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01378, allocations: 0.5 kB / 0.7981 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01379, allocations: 9.094 kB / 0.7981 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01379, allocations: 0 / 0.7981 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.01403, allocations: 332.4 kB / 0.7984 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01404, allocations: 0.6562 kB / 0.7984 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.01408, allocations: 16 kB / 0.7984 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01409, allocations: 1 kB / 0.7984 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.0141, allocations: 7.922 kB / 0.7985 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.0141, allocations: 0 / 0.7985 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01411, allocations: 7.969 kB / 0.7985 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.01435, allocations: 216 kB / 0.7987 GB, free: 328 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.0144, allocations: 55.59 kB / 0.7987 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.01443, allocations: 7.938 kB / 0.7987 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-05/0.01448, allocations: 11.98 kB / 0.7987 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.01454, allocations: 23.95 kB / 0.7988 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01455, allocations: 4 kB / 0.7988 GB, free: 224 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002595/0.01481, allocations: 383 kB / 0.7991 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01481, allocations: 0 / 0.7991 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002023/0.01502, allocations: 64.81 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.0008304/0.01585, allocations: 411.5 kB / 0.7996 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01603, allocations: 102.1 kB / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01603, allocations: 0 / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.01609, allocations: 43.66 kB / 0.7997 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01637, allocations: 75.05 kB / 0.7998 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.01734, allocations: 0.7384 MB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.01741, allocations: 132.2 kB / 0.8006 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.152e-05/0.01749, allocations: 50.94 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.01756, allocations: 24.5 kB / 0.8007 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/0.01756, allocations: 3.938 kB / 0.8007 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of Templates: time 0.007346/0.0249, allocations: 4.214 MB / 0.8048 GB, free: 10.18 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: 5.1749643799848855]