Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 185.7 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.9916, allocations: 160.8 MB / 1.218 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004438/0.996, allocations: 2.473 MB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.9989, allocations: 1.536 MB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.9992, allocations: 8.281 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.9999, allocations: 229 kB / 1.223 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/1, allocations: 153.2 kB / 1.223 GB, free: 500 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/1.001, allocations: 188.3 kB / 1.223 GB, free: 360 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000525/1.001, allocations: 355.8 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/1.002, allocations: 60.86 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/1.002, allocations: 148.8 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/1.002, allocations: 157.6 kB / 1.224 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/1.002, allocations: 26.19 kB / 1.224 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/1.002, allocations: 68.53 kB / 1.224 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/1.003, allocations: 131.9 kB / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/1.003, allocations: 188.1 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/1.003, allocations: 0.5048 MB / 1.225 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.003, allocations: 0 / 1.225 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/1.003, allocations: 0 / 1.225 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.003, allocations: 0.7188 kB / 1.225 GB, free: 15.28 MB / 0.9356 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.001551/1.005, allocations: 0.8277 MB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.005, allocations: 14 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/1.005, allocations: 63.33 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/1.006, allocations: 424.3 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/1.006, allocations: 9.5 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/1.006, allocations: 21.42 kB / 1.226 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/1.006, allocations: 141.2 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.006, allocations: 0 / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/1.006, allocations: 6.375 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.006, allocations: 7.047 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/1.007, allocations: 83.41 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/1.008, allocations: 0.6428 MB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/1.008, allocations: 128 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/1.008, allocations: 44.62 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/1.008, allocations: 5.344 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/1.009, allocations: 109.2 kB / 1.227 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/1.009, allocations: 0 / 1.227 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0004631/1.009, allocations: 222.2 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.009, allocations: 52.66 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/1.01, allocations: 0.6452 MB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.01, allocations: 32.55 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/1.01, allocations: 255.6 kB / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/1.01, allocations: 41.52 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/1.01, allocations: 63.03 kB / 1.228 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.011, allocations: 367.1 kB / 1.229 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/1.011, allocations: 78.83 kB / 1.229 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/1.011, allocations: 111.8 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/1.011, allocations: 135.6 kB / 1.229 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.011, allocations: 4.031 kB / 1.229 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004485/1.012, allocations: 275.1 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.012, allocations: 5.656 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.012, allocations: 0 / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.012, allocations: 5.062 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.012, allocations: 38.5 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.012, allocations: 1.062 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.012, allocations: 27.53 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.012, allocations: 17.92 kB / 1.229 GB, free: 11.64 MB / 0.9356 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.0002398/1.012, allocations: 207.5 kB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/1.012, allocations: 50.61 kB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/1.013, allocations: 191.4 kB / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.013, allocations: 1.188 kB / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.013, allocations: 0 / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/1.013, allocations: 5.359 kB / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/1.013, allocations: 375.8 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.013, allocations: 0 / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/1.013, allocations: 7.875 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.013, allocations: 5.25 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.013, allocations: 1.219 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.013, allocations: 0.875 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.013, allocations: 3.938 kB / 1.23 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/1.014, allocations: 270.2 kB / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.014, allocations: 131 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/1.014, allocations: 4 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/1.014, allocations: 15.98 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/1.014, allocations: 19.97 kB / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/1.014, allocations: 11.98 kB / 1.23 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005132/1.015, allocations: 430.8 kB / 1.231 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0 / 1.231 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003122/1.015, allocations: 67.83 kB / 1.231 GB, free: 10.14 MB / 0.9356 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 (12): * Single equations (assignments): 10 * 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.001564/1.016, allocations: 423.8 kB / 1.231 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003359/1.017, allocations: 150.7 kB / 1.232 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.017, allocations: 0 / 1.232 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.017, allocations: 51.91 kB / 1.232 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/1.017, allocations: 81.97 kB / 1.232 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.019, allocations: 0.8506 MB / 1.232 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/1.019, allocations: 0.8572 MB / 1.233 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001214/1.02, allocations: 38.28 kB / 1.233 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/1.02, allocations: 35.42 kB / 1.233 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of SimCode: time 5.42e-07/1.02, allocations: 0 / 1.233 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.01022/1.03, allocations: 4.124 MB / 1.237 GB, free: 3.68 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.14349584467709]