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.0008636/0.0008636, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001382/0.001382, allocations: 181 kB / 24.09 MB, free: 420 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.9035/0.9035, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.86 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.673e-06/1.673e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.6e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.007507/0.007533, allocations: 2.438 MB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006474/0.01401, allocations: 1.598 MB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.01424, allocations: 7.938 kB / 0.7915 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.01492, allocations: 232.5 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.01534, allocations: 194.6 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.01563, allocations: 169 kB / 0.7921 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.01594, allocations: 370.6 kB / 0.7924 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.01609, allocations: 56.89 kB / 0.7925 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.01666, allocations: 242.9 kB / 0.7927 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.0168, allocations: 125.4 kB / 0.7929 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.01684, allocations: 20 kB / 0.7929 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.01696, allocations: 59.97 kB / 0.7929 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.01705, allocations: 131.5 kB / 0.7931 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.01712, allocations: 95.59 kB / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.01751, allocations: 331.2 kB / 0.7935 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.01752, allocations: 4.672 kB / 0.7935 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01752, allocations: 0 / 0.7935 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.01753, allocations: 4.562 kB / 0.7935 GB, free: 6.164 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.0007484/0.01827, allocations: 0.8688 MB / 0.7943 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.01831, allocations: 8.562 kB / 0.7943 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.01838, allocations: 72.52 kB / 0.7944 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.01868, allocations: 373.2 kB / 0.7948 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.0187, allocations: 12.38 kB / 0.7948 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.01873, allocations: 17.47 kB / 0.7948 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.01893, allocations: 159.7 kB / 0.7949 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.01894, allocations: 4.875 kB / 0.7949 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.01895, allocations: 4 kB / 0.7949 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.01895, allocations: 4 kB / 0.7949 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.01903, allocations: 40.84 kB / 0.795 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.01957, allocations: 0.4968 MB / 0.7955 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.01971, allocations: 91.78 kB / 0.7956 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.01974, allocations: 24.83 kB / 0.7956 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.01976, allocations: 9.125 kB / 0.7956 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.01989, allocations: 136.4 kB / 0.7957 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.01989, allocations: 0 / 0.7957 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002276/0.02012, allocations: 166 kB / 0.7959 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.02014, allocations: 51.41 kB / 0.7959 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.0205, allocations: 0.6147 MB / 0.7965 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.02052, allocations: 33.64 kB / 0.7966 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.02072, allocations: 343 kB / 0.7969 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.02075, allocations: 39.72 kB / 0.7969 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.02082, allocations: 55.33 kB / 0.797 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.02102, allocations: 0.5703 MB / 0.7975 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.02108, allocations: 26.8 kB / 0.7976 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.02118, allocations: 122.1 kB / 0.7977 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.02127, allocations: 63.34 kB / 0.7977 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02128, allocations: 0 / 0.7977 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001782/0.02145, allocations: 184.1 kB / 0.7979 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.02147, allocations: 11.98 kB / 0.7979 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02148, allocations: 1.5 kB / 0.7979 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.02149, allocations: 3.938 kB / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.02159, allocations: 39.92 kB / 0.798 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.0216, allocations: 0.625 kB / 0.798 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.02167, allocations: 20.44 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.02168, allocations: 8 kB / 0.798 GB, free: 1.277 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 0.0001014/0.02178, allocations: 173.8 kB / 0.7982 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.02183, allocations: 63.62 kB / 0.7982 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.02201, allocations: 143.7 kB / 0.7984 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.02202, allocations: 3.938 kB / 0.7984 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02202, allocations: 4 kB / 0.7984 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02202, allocations: 0.6562 kB / 0.7984 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.02222, allocations: 248.9 kB / 0.7986 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02222, allocations: 1.281 kB / 0.7986 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.02227, allocations: 11.98 kB / 0.7986 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02228, allocations: 0 / 0.7986 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.02229, allocations: 15.72 kB / 0.7986 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02229, allocations: 0 / 0.7986 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02229, allocations: 4 kB / 0.7986 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.02251, allocations: 215.1 kB / 0.7988 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.02255, allocations: 47.61 kB / 0.7989 GB, free: 312 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.02258, allocations: 11.98 kB / 0.7989 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.02264, allocations: 4 kB / 0.7989 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.02269, allocations: 27.89 kB / 0.7989 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.0227, allocations: 4 kB / 0.7989 GB, free: 264 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002127/0.02291, allocations: 367.8 kB / 0.7993 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.02291, allocations: 0 / 0.7993 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001997/0.02311, allocations: 63.89 kB / 0.7993 GB, free: 15.84 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.0009141/0.02402, allocations: 413 kB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.02416, allocations: 81.53 kB / 0.7998 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02417, allocations: 4 kB / 0.7998 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.02422, allocations: 39.73 kB / 0.7999 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.0245, allocations: 72.89 kB / 0.7999 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.02548, allocations: 0.7383 MB / 0.8006 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.02555, allocations: 128.2 kB / 0.8008 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.02563, allocations: 38.95 kB / 0.8008 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.02576, allocations: 134.2 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/0.02576, allocations: 0 / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.007356/0.03312, allocations: 4.51 MB / 0.8053 GB, free: 9.879 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: 4.899103436153382]