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.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.001676/0.001676, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001946/0.001946, allocations: 186.7 kB / 20.78 MB, free: 1.547 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 / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001979/0.001979, allocations: 63.91 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239/1.241, allocations: 168.7 MB / 1.272 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004556/1.246, allocations: 2.467 MB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00302/1.249, allocations: 1.544 MB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/1.249, allocations: 3.594 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/1.25, allocations: 223.2 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005802/1.251, allocations: 153.8 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/1.252, allocations: 201.1 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005566/1.252, allocations: 351.2 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/1.253, allocations: 53.38 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/1.253, allocations: 150.8 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/1.253, allocations: 161.3 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/1.253, allocations: 21.53 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/1.253, allocations: 67.66 kB / 1.277 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/1.254, allocations: 129.3 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/1.254, allocations: 190 kB / 1.278 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007236/1.254, allocations: 0.5061 MB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.254, allocations: 0.9375 kB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.254, allocations: 0 / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.254, allocations: 0 / 1.278 GB, free: 4.012 MB / 0.9981 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.001308/1.256, allocations: 0.8204 MB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.256, allocations: 9.062 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.256, allocations: 59.69 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/1.256, allocations: 430.7 kB / 1.279 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.257, allocations: 10.66 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/1.257, allocations: 21.62 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/1.257, allocations: 142.5 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.257, allocations: 0 / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.257, allocations: 2.531 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.257, allocations: 2.812 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/1.257, allocations: 85.81 kB / 1.28 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.258, allocations: 0.6391 MB / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/1.259, allocations: 129.6 kB / 1.28 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.259, allocations: 50.06 kB / 1.28 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.259, allocations: 2.547 kB / 1.28 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/1.259, allocations: 108.9 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/1.259, allocations: 0.5312 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005621/1.26, allocations: 217.5 kB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.26, allocations: 53.88 kB / 1.281 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/1.261, allocations: 0.6455 MB / 1.281 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.261, allocations: 32.09 kB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/1.261, allocations: 265 kB / 1.282 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/1.261, allocations: 41.73 kB / 1.282 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/1.261, allocations: 53.02 kB / 1.282 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.261, allocations: 370.1 kB / 1.282 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/1.261, allocations: 74.89 kB / 1.282 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/1.261, allocations: 116 kB / 1.282 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/1.262, allocations: 135.9 kB / 1.282 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.262, allocations: 0 / 1.282 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003851/1.262, allocations: 274.1 kB / 1.283 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.262, allocations: 9.125 kB / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/1.262, allocations: 0 / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.262, allocations: 1.75 kB / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.262, allocations: 42.19 kB / 1.283 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.262, allocations: 0 / 1.283 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/1.262, allocations: 30.55 kB / 1.283 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/1.262, allocations: 8.484 kB / 1.283 GB, free: 0.8789 MB / 0.9981 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.0001873/1.263, allocations: 217 kB / 1.283 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.263, allocations: 55.47 kB / 1.283 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/1.263, allocations: 184.6 kB / 1.283 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/1.263, allocations: 4.109 kB / 1.283 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.263, allocations: 4 kB / 1.283 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.263, allocations: 0.6094 kB / 1.283 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/1.263, allocations: 374.3 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.263, allocations: 1.281 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/1.264, allocations: 9.656 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/1.264, allocations: 0.5625 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/1.264, allocations: 6.328 kB / 1.284 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.264, allocations: 5.562 kB / 1.284 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.264, allocations: 0.5156 kB / 1.284 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/1.264, allocations: 269.7 kB / 1.284 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.264, allocations: 133.9 kB / 1.284 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.264, allocations: 2.594 kB / 1.284 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.264, allocations: 16.84 kB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/1.264, allocations: 21.94 kB / 1.284 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.264, allocations: 4.219 kB / 1.284 GB, free: 20 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006992/1.265, allocations: 427 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.265, allocations: 0 / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003608/1.265, allocations: 69.95 kB / 1.284 GB, free: 15.82 MB / 1.014 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.001758/1.267, allocations: 421.4 kB / 1.285 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004566/1.268, allocations: 146.2 kB / 1.285 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.268, allocations: 0 / 1.285 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.268, allocations: 54.7 kB / 1.285 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/1.268, allocations: 87.3 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.27, allocations: 0.8637 MB / 1.286 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.271, allocations: 0.8553 MB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000157/1.271, allocations: 33.92 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/1.271, allocations: 30.89 kB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of SimCode: time 8.61e-07/1.271, allocations: 0.5938 kB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of Templates: time 0.01171/1.283, allocations: 4.117 MB / 1.291 GB, free: 13.95 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.662901943549514]