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.001778/0.001778, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001903/0.001903, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.583/1.583, allocations: 177.2 MB / 203.1 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 178] 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 3.216/3.216, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.809e-06/4.809e-06, allocations: 3.984 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/4.118e-05, allocations: 3.656 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005913/0.005954, allocations: 2.368 MB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003959/0.009913, allocations: 1.563 MB / 0.8815 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.01027, allocations: 7.938 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009147/0.01118, allocations: 222.1 kB / 0.8817 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000883/0.01206, allocations: 200.1 kB / 0.8819 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.01268, allocations: 167.4 kB / 0.882 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008142/0.0135, allocations: 370.7 kB / 0.8824 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.01378, allocations: 60.88 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.01429, allocations: 195.4 kB / 0.8826 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.01461, allocations: 127.7 kB / 0.8827 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.01469, allocations: 23.94 kB / 0.8828 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.01492, allocations: 67.91 kB / 0.8828 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.01513, allocations: 127.5 kB / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.01534, allocations: 99.58 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.01634, allocations: 0.5059 MB / 0.8835 GB, free: 416 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.01634, allocations: 4 kB / 0.8835 GB, free: 412 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/0.01634, allocations: 0 / 0.8835 GB, free: 412 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.364e-05/0.01637, allocations: 0 / 0.8835 GB, free: 412 kB / 0.8386 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.001997/0.01836, allocations: 0.7406 MB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.01842, allocations: 12.03 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.01863, allocations: 68.56 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.01947, allocations: 386.7 kB / 0.8847 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.01951, allocations: 8.375 kB / 0.8847 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.01956, allocations: 20.36 kB / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.01998, allocations: 186.5 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01999, allocations: 0 / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.02002, allocations: 7.938 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.02003, allocations: 7.984 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.02028, allocations: 87.94 kB / 0.885 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.02163, allocations: 0.5428 MB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.02204, allocations: 126.8 kB / 0.8857 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.0225, allocations: 40.84 kB / 0.8857 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.02253, allocations: 0 / 0.8857 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.02285, allocations: 170.6 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.02285, allocations: 0 / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006214/0.02347, allocations: 217.2 kB / 0.8861 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.02353, allocations: 55.41 kB / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.02454, allocations: 0.6642 MB / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.02458, allocations: 33.7 kB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.02489, allocations: 256.4 kB / 0.8871 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.02497, allocations: 47.66 kB / 0.8871 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.02509, allocations: 53.66 kB / 0.8872 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.02536, allocations: 370.8 kB / 0.8875 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.02554, allocations: 75.97 kB / 0.8876 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.0258, allocations: 166.8 kB / 0.8877 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.02609, allocations: 128.8 kB / 0.8879 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.02609, allocations: 0 / 0.8879 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005928/0.02668, allocations: 285.1 kB / 0.8881 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.02671, allocations: 7.938 kB / 0.8881 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.02672, allocations: 0 / 0.8881 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.02675, allocations: 4 kB / 0.8881 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.02699, allocations: 39.91 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.027, allocations: 0 / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.02723, allocations: 31.91 kB / 0.8882 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.02726, allocations: 7.984 kB / 0.8882 GB, free: 11.39 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.0002956/0.02756, allocations: 209.7 kB / 0.8884 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.02768, allocations: 63.61 kB / 0.8885 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.02813, allocations: 193 kB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.02813, allocations: 4 kB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.02814, allocations: 0 / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02814, allocations: 0 / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.02855, allocations: 285.1 kB / 0.8889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.02856, allocations: 8 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.02864, allocations: 8 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.02864, allocations: 0 / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.02867, allocations: 11.92 kB / 0.889 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.02868, allocations: 7.938 kB / 0.889 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.02868, allocations: 3.984 kB / 0.889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.02928, allocations: 268.7 kB / 0.8892 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.02939, allocations: 51.66 kB / 0.8893 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.02945, allocations: 7.938 kB / 0.8893 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.02959, allocations: 16.05 kB / 0.8893 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.0297, allocations: 27.95 kB / 0.8893 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.02971, allocations: 8 kB / 0.8893 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006528/0.03037, allocations: 447 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03037, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003411/0.03071, allocations: 59.89 kB / 0.8898 GB, free: 9.68 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.002199/0.03291, allocations: 464.2 kB / 0.8903 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.03334, allocations: 151.7 kB / 0.8904 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.03335, allocations: 0 / 0.8904 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.03349, allocations: 55.97 kB / 0.8905 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.03402, allocations: 75.86 kB / 0.8905 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.03565, allocations: 0.8539 MB / 0.8914 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.03596, allocations: 255.5 kB / 0.8916 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.0361, allocations: 42.95 kB / 0.8917 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.0362, allocations: 32.5 kB / 0.8917 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.0362, allocations: 0 / 0.8917 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of Templates: time 0.01129/0.04749, allocations: 4.222 MB / 0.8958 GB, free: 3.746 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.89951467292849]