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.001512/0.001512, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001544/0.001544, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9516/0.9516, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 4.638e-06/4.638e-06, allocations: 4 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.853e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00484/0.004869, allocations: 2.44 MB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.007738, allocations: 1.607 MB / 0.8834 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.008031, allocations: 7.938 kB / 0.8834 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.008806, allocations: 221 kB / 0.8836 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.009437, allocations: 214.1 kB / 0.8838 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.009875, allocations: 151.5 kB / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.01043, allocations: 382.6 kB / 0.8843 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.01063, allocations: 52.89 kB / 0.8844 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.01146, allocations: 243.6 kB / 0.8846 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.01174, allocations: 135.6 kB / 0.8847 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.01179, allocations: 20 kB / 0.8847 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.01199, allocations: 55.97 kB / 0.8848 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01213, allocations: 131.5 kB / 0.8849 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01225, allocations: 99.58 kB / 0.885 GB, free: 320 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.01287, allocations: 334.6 kB / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01287, allocations: 0 / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01287, allocations: 0 / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.01289, allocations: 3.938 kB / 0.8853 GB, free: 15.98 MB / 0.8542 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.001215/0.01411, allocations: 0.8716 MB / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.01415, allocations: 8.031 kB / 0.8862 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.01428, allocations: 72.55 kB / 0.8863 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.01474, allocations: 375.9 kB / 0.8866 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.01477, allocations: 8.375 kB / 0.8866 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.0148, allocations: 16.38 kB / 0.8866 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.01506, allocations: 154.3 kB / 0.8868 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01507, allocations: 3.938 kB / 0.8868 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.01509, allocations: 8 kB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.0151, allocations: 4 kB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.01521, allocations: 43.88 kB / 0.8868 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.01601, allocations: 0.4958 MB / 0.8873 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.01622, allocations: 87.19 kB / 0.8874 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.01626, allocations: 27.62 kB / 0.8874 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.01628, allocations: 8 kB / 0.8874 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.01644, allocations: 136.4 kB / 0.8876 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.01644, allocations: 0 / 0.8876 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0003107/0.01675, allocations: 169 kB / 0.8877 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.01679, allocations: 55.41 kB / 0.8878 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.01738, allocations: 0.6125 MB / 0.8884 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01741, allocations: 37.69 kB / 0.8884 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.0177, allocations: 331 kB / 0.8887 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.01775, allocations: 39.67 kB / 0.8888 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.01784, allocations: 63.31 kB / 0.8888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.01804, allocations: 0.5664 MB / 0.8894 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.0181, allocations: 23.97 kB / 0.8894 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.01821, allocations: 118.1 kB / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.01833, allocations: 81.38 kB / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01833, allocations: 0 / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002879/0.01862, allocations: 177.3 kB / 0.8898 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01864, allocations: 4 kB / 0.8898 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01865, allocations: 0 / 0.8898 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01866, allocations: 3.938 kB / 0.8898 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01881, allocations: 39.98 kB / 0.8898 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01881, allocations: 0 / 0.8898 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.01896, allocations: 27.88 kB / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.01898, allocations: 4 kB / 0.8898 GB, free: 11.08 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.0001442/0.01913, allocations: 172.5 kB / 0.89 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.0192, allocations: 59.62 kB / 0.8901 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.01946, allocations: 142.5 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.01947, allocations: 7.938 kB / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01947, allocations: 4 kB / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01947, allocations: 0 / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.0199, allocations: 245 kB / 0.8905 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.01991, allocations: 3.984 kB / 0.8905 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.01998, allocations: 11.94 kB / 0.8905 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01998, allocations: 4 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.02, allocations: 3.938 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.02, allocations: 4 kB / 0.8905 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02, allocations: 3.984 kB / 0.8905 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.0203, allocations: 208 kB / 0.8907 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.02037, allocations: 59.58 kB / 0.8907 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.02042, allocations: 4 kB / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.02051, allocations: 8 kB / 0.8907 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.02057, allocations: 23.89 kB / 0.8908 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02059, allocations: 8 kB / 0.8908 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000323/0.02091, allocations: 374.8 kB / 0.8911 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02091, allocations: 0 / 0.8911 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003324/0.02125, allocations: 59.89 kB / 0.8912 GB, free: 9.645 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.001263/0.02251, allocations: 405.5 kB / 0.8916 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.02272, allocations: 94.52 kB / 0.8917 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.02273, allocations: 4 kB / 0.8917 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.02281, allocations: 43.66 kB / 0.8917 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.02319, allocations: 81.33 kB / 0.8918 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.02452, allocations: 0.7306 MB / 0.8925 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.02463, allocations: 128.2 kB / 0.8926 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.02486, allocations: 38.95 kB / 0.8927 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.02516, allocations: 134.2 kB / 0.8928 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of SimCode: time 1.663e-06/0.02516, allocations: 0 / 0.8928 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.00751/0.03267, allocations: 4.572 MB / 0.8973 GB, free: 3.582 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.471556912176311]