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.001308/0.001308, allocations: 93.06 kB / 19.65 MB, free: 280 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.001567/0.001567, 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.9988/0.9988, allocations: 177.1 MB / 203.4 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.125/2.125, 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.813e-06/1.813e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.022e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004713/0.004743, allocations: 2.482 MB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.007596, allocations: 1.619 MB / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.007794, allocations: 9.406 kB / 0.8822 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.00859, allocations: 223.5 kB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.009196, allocations: 207.5 kB / 0.8826 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.009632, allocations: 159.4 kB / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.01038, allocations: 374.1 kB / 0.8831 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.01059, allocations: 60.88 kB / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.01086, allocations: 191.5 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.01108, allocations: 135.6 kB / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.01113, allocations: 23.94 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.0113, allocations: 63.97 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.01145, allocations: 127.5 kB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.01158, allocations: 95.58 kB / 0.8838 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.01215, allocations: 351.7 kB / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.01215, allocations: 0 / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.664e-06/0.01215, allocations: 0 / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.01216, allocations: 1.562 kB / 0.8841 GB, free: 240 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.001277/0.01344, allocations: 0.8651 MB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.01348, allocations: 12.03 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.01362, allocations: 68.56 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.01421, allocations: 369.4 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.01424, allocations: 8.375 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.0143, allocations: 20.31 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.01462, allocations: 171.2 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.01463, allocations: 0 / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.01465, allocations: 4 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01467, allocations: 4 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.01484, allocations: 48.88 kB / 0.8856 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01589, allocations: 0.6085 MB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.01618, allocations: 91.27 kB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.01625, allocations: 27.67 kB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.01628, allocations: 4 kB / 0.8864 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.0165, allocations: 152.2 kB / 0.8865 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.01651, allocations: 0 / 0.8865 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004016/0.01691, allocations: 169.2 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.01695, allocations: 55.41 kB / 0.8867 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.01762, allocations: 0.6246 MB / 0.8873 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.01765, allocations: 29.7 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.01789, allocations: 331.1 kB / 0.8877 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.01794, allocations: 43.67 kB / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.01803, allocations: 55.36 kB / 0.8878 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.01827, allocations: 0.5625 MB / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.01836, allocations: 27.98 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01851, allocations: 138 kB / 0.8885 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01866, allocations: 81.69 kB / 0.8885 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01866, allocations: 0 / 0.8885 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000337/0.019, allocations: 194.7 kB / 0.8887 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.01902, allocations: 11.92 kB / 0.8887 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01903, allocations: 4 kB / 0.8887 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.01905, allocations: 4 kB / 0.8888 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.01924, allocations: 35.92 kB / 0.8888 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01925, allocations: 3.938 kB / 0.8888 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.01939, allocations: 27.88 kB / 0.8888 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.01942, allocations: 12.03 kB / 0.8888 GB, free: 11.14 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.0001444/0.01956, allocations: 168.6 kB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.01963, allocations: 67.55 kB / 0.8891 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.01995, allocations: 153.3 kB / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01995, allocations: 0 / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01996, allocations: 0 / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01996, allocations: 0 / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.02034, allocations: 332.5 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02034, allocations: 0 / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.02042, allocations: 15.98 kB / 0.8895 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.02042, allocations: 0 / 0.8895 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.02044, allocations: 11.94 kB / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.02045, allocations: 0 / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02045, allocations: 0 / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.0208, allocations: 220 kB / 0.8898 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.02088, allocations: 51.56 kB / 0.8898 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.02093, allocations: 11.94 kB / 0.8898 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.02103, allocations: 15.98 kB / 0.8898 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.02111, allocations: 19.95 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.02113, allocations: 8.031 kB / 0.8899 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006829/0.02181, allocations: 387 kB / 0.8902 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02181, allocations: 0 / 0.8902 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003071/0.02212, allocations: 63.89 kB / 0.8903 GB, free: 9.578 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.001201/0.02332, allocations: 402.4 kB / 0.8907 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.02357, allocations: 103.4 kB / 0.8908 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02357, allocations: 0 / 0.8908 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.02366, allocations: 47.61 kB / 0.8908 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.02408, allocations: 85.56 kB / 0.8909 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.02545, allocations: 0.7418 MB / 0.8916 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02556, allocations: 136.2 kB / 0.8917 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.02566, allocations: 34.95 kB / 0.8918 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.02575, allocations: 36.48 kB / 0.8918 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.02575, allocations: 0 / 0.8918 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.007764/0.03351, allocations: 4.218 MB / 0.8959 GB, free: 3.938 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.6547363880090415]