Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001175/0.001175, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002276/0.003451, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001479/0.001479, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001967/0.003447, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.117/1.11, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.308/2.308, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2919/2.599, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.281e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002692/0.002715, allocations: 1.298 MB / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.002833, allocations: 71.7 kB / 0.8196 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.002857, allocations: 0 / 0.8196 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.002879, allocations: 0 / 0.8196 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.002951, allocations: 3.984 kB / 0.8196 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.724e-05/0.003028, allocations: 11.98 kB / 0.8196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.003103, allocations: 11.94 kB / 0.8196 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.003138, allocations: 7.984 kB / 0.8196 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.00321, allocations: 15.92 kB / 0.8197 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.003273, allocations: 16.67 kB / 0.8197 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.003288, allocations: 0 / 0.8197 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.003372, allocations: 11.94 kB / 0.8197 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.003455, allocations: 48.47 kB / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.003489, allocations: 23.88 kB / 0.8198 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00361, allocations: 67.7 kB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.003624, allocations: 0 / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003625, allocations: 0 / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.003642, allocations: 0 / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004256/0.004068, allocations: 347.8 kB / 0.8201 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.004107, allocations: 8.625 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.004164, allocations: 84.22 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004307, allocations: 204.9 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.004357, allocations: 150.9 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.004411, allocations: 158.9 kB / 0.8207 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.732e-05/0.004468, allocations: 109.1 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.004495, allocations: 79.22 kB / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.004545, allocations: 150.6 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.004616, allocations: 158.6 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.004671, allocations: 150.6 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.004904, allocations: 365.2 kB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.004988, allocations: 173.1 kB / 0.8219 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.00502, allocations: 84.08 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.005043, allocations: 79.22 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.005091, allocations: 113.8 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.005092, allocations: 0 / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.042e-05/0.005163, allocations: 29.64 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.005222, allocations: 130.7 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.005407, allocations: 203.1 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.00542, allocations: 25.7 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.00547, allocations: 100 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.005472, allocations: 0 / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.005526, allocations: 41.66 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005631, allocations: 326.8 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.005678, allocations: 22.77 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.005705, allocations: 15.98 kB / 0.823 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.00579, allocations: 53.84 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005792, allocations: 0 / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001525/0.005944, allocations: 80.31 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.005958, allocations: 8 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.005965, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.005975, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-06/0.00598, allocations: 64 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005984, allocations: 7.938 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.006033, allocations: 15.84 kB / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.006052, allocations: 11.92 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.69e-05/0.006149, allocations: 184 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.006212, allocations: 105 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.006265, allocations: 121.5 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/0.006319, allocations: 180.2 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-05/0.006374, allocations: 184.3 kB / 0.8239 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/0.006435, allocations: 184.2 kB / 0.8241 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.006631, allocations: 337.4 kB / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.006667, allocations: 113 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.006699, allocations: 104.9 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.006747, allocations: 108.9 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.505e-05/0.006802, allocations: 184.2 kB / 0.8249 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.006856, allocations: 180.3 kB / 0.825 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.452e-05/0.006911, allocations: 176.3 kB / 0.8252 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-05/0.006971, allocations: 192.1 kB / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.007105, allocations: 311.7 kB / 0.8257 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.007178, allocations: 180.3 kB / 0.8259 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.007263, allocations: 101 kB / 0.826 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.007318, allocations: 184.2 kB / 0.8261 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.007352, allocations: 109 kB / 0.8262 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.765e-05/0.00742, allocations: 54.2 kB / 0.8263 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00742, allocations: 0 / 0.8263 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002333/0.007653, allocations: 23.88 kB / 0.8263 GB, free: 10.35 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001718/0.007825, allocations: 167.7 kB / 0.8265 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.00792, allocations: 28.78 kB / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.007926, allocations: 0 / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.007927, allocations: 0 / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.008234, allocations: 471.8 kB / 0.827 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.008773, allocations: 291.4 kB / 0.8272 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.297e-05/0.008826, allocations: 71.33 kB / 0.8273 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.008847, allocations: 7.984 kB / 0.8273 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.008893, allocations: 51.36 kB / 0.8274 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.008894, allocations: 0 / 0.8274 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of Templates: time 0.0031/0.01199, allocations: 0.8077 MB / 0.8281 GB, free: 8.414 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.ref.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: 5.089523454196751]