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.002559/0.002559, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.0031/0.0031, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.971/2.971, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 2.424e-06/2.424e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.108e-05/4.35e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00718/0.007223, allocations: 2.431 MB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00479/0.01201, allocations: 1.607 MB / 0.7903 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.01244, allocations: 9.156 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.01396, allocations: 226.9 kB / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01505, allocations: 203.4 kB / 0.7908 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.01576, allocations: 156 kB / 0.7909 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.01662, allocations: 371.2 kB / 0.7913 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.01692, allocations: 56.89 kB / 0.7913 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.01743, allocations: 192.2 kB / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.01779, allocations: 136.8 kB / 0.7916 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.01789, allocations: 24 kB / 0.7916 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.01815, allocations: 65.28 kB / 0.7917 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.01837, allocations: 135.5 kB / 0.7918 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.01856, allocations: 95.58 kB / 0.7919 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01959, allocations: 0.5021 MB / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.0196, allocations: 5.688 kB / 0.7924 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.442e-06/0.0196, allocations: 0 / 0.7924 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.01962, allocations: 0 / 0.7924 GB, free: 6.633 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.002013/0.02163, allocations: 0.8766 MB / 0.7933 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.02168, allocations: 12.02 kB / 0.7933 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.02187, allocations: 76.52 kB / 0.7934 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.02263, allocations: 371.2 kB / 0.7937 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.02266, allocations: 8.375 kB / 0.7937 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.0227, allocations: 16.38 kB / 0.7937 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.02308, allocations: 192.6 kB / 0.7939 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.02309, allocations: 4 kB / 0.7939 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.02311, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.02312, allocations: 4 kB / 0.7939 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.02336, allocations: 75.91 kB / 0.794 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.02481, allocations: 0.6687 MB / 0.7947 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.02521, allocations: 133 kB / 0.7948 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.02531, allocations: 39.72 kB / 0.7948 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.02535, allocations: 4 kB / 0.7948 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.02565, allocations: 160.3 kB / 0.795 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.02565, allocations: 2.594 kB / 0.795 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0005855/0.02624, allocations: 197.2 kB / 0.7952 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.02631, allocations: 59.39 kB / 0.7952 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.02736, allocations: 0.7104 MB / 0.7959 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.0274, allocations: 29.7 kB / 0.796 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.02777, allocations: 355.1 kB / 0.7963 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.02783, allocations: 39.73 kB / 0.7963 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.02798, allocations: 75.88 kB / 0.7964 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004218/0.0284, allocations: 0.5828 MB / 0.797 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.02854, allocations: 47.98 kB / 0.797 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.02879, allocations: 161 kB / 0.7972 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.02905, allocations: 121.1 kB / 0.7973 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02905, allocations: 0.7812 kB / 0.7973 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000594/0.02965, allocations: 237.1 kB / 0.7975 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.02967, allocations: 7.938 kB / 0.7975 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02968, allocations: 0 / 0.7975 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.0297, allocations: 4 kB / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.02991, allocations: 40.77 kB / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.02991, allocations: 0 / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.03011, allocations: 17.16 kB / 0.7976 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.03015, allocations: 12 kB / 0.7976 GB, free: 1.094 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.0002357/0.03038, allocations: 193.8 kB / 0.7978 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/0.03048, allocations: 59.56 kB / 0.7978 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.03089, allocations: 183.6 kB / 0.798 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.0309, allocations: 0 / 0.798 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.0309, allocations: 0 / 0.798 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.03091, allocations: 3.984 kB / 0.798 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.0315, allocations: 385.4 kB / 0.7984 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.03151, allocations: 0 / 0.7984 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.0316, allocations: 17.34 kB / 0.7984 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.0316, allocations: 0 / 0.7984 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.03163, allocations: 7.938 kB / 0.7984 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.03163, allocations: 0 / 0.7984 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.03163, allocations: 1.938 kB / 0.7984 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.03223, allocations: 262.9 kB / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.03236, allocations: 55.59 kB / 0.7987 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.03243, allocations: 7.938 kB / 0.7987 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.03255, allocations: 11.98 kB / 0.7987 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.03265, allocations: 21.16 kB / 0.7987 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.03267, allocations: 11.98 kB / 0.7988 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005956/0.03327, allocations: 423 kB / 0.7992 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.03327, allocations: 5.031 kB / 0.7992 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003457/0.03362, allocations: 67.81 kB / 0.7992 GB, free: 15.35 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.003162/0.03678, allocations: 454.5 kB / 0.7997 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004123/0.03719, allocations: 142.2 kB / 0.7998 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03719, allocations: 0 / 0.7998 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.03735, allocations: 59.61 kB / 0.7999 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.0379, allocations: 78.92 kB / 0.7999 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03953, allocations: 0.7579 MB / 0.8007 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.0399, allocations: 250.5 kB / 0.8009 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.04006, allocations: 54.92 kB / 0.801 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.04018, allocations: 32.42 kB / 0.801 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of SimCode: time 1.593e-06/0.04018, allocations: 0 / 0.801 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of Templates: time 0.01264/0.05282, allocations: 4.202 MB / 0.8051 GB, free: 9.543 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","/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: 8.69929597293958]