Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007462/0.0007462, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001858, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007901/0.0007901, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000907/0.001697, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.043/1.043, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/1.156, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.949/1.949, allocations: 378.4 MB / 0.6079 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6595/2.608, allocations: 123.3 MB / 0.7283 GB, free: 5.691 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.239e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002278/0.002311, allocations: 1.315 MB / 0.7309 GB, free: 3.102 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001091/0.00242, allocations: 61.09 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.002448, allocations: 1 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.002472, allocations: 0 / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.002562, allocations: 5.625 kB / 0.731 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.988e-05/0.002662, allocations: 8.703 kB / 0.731 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.002758, allocations: 24.48 kB / 0.731 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.002801, allocations: 8 kB / 0.731 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.002884, allocations: 15.2 kB / 0.731 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.002954, allocations: 6.172 kB / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.002971, allocations: 0 / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.003062, allocations: 14.7 kB / 0.731 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.003154, allocations: 49.56 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.003184, allocations: 21.58 kB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.003315, allocations: 64.92 kB / 0.7312 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.003325, allocations: 0 / 0.7312 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003327, allocations: 0 / 0.7312 GB, free: 2.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.00334, allocations: 0.5 kB / 0.7312 GB, free: 2.855 MB / 0.698 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.0004232/0.003763, allocations: 349.5 kB / 0.7315 GB, free: 2.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003801, allocations: 8.031 kB / 0.7315 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.003858, allocations: 84.2 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.004001, allocations: 210.8 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.004049, allocations: 150.9 kB / 0.7319 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.0041, allocations: 158.9 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.993e-05/0.00416, allocations: 113.5 kB / 0.7322 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.004184, allocations: 77 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.004228, allocations: 150.6 kB / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.444e-05/0.004312, allocations: 174.5 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.004356, allocations: 154.6 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.004549, allocations: 373.2 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.004637, allocations: 169.9 kB / 0.7333 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.004667, allocations: 80.14 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.00469, allocations: 75.78 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.004739, allocations: 115.5 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.00474, allocations: 0 / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.984e-05/0.00482, allocations: 37.62 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.004876, allocations: 134.6 kB / 0.7337 GB, free: 192 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.005058, allocations: 199.3 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000364/0.005422, allocations: 29.7 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.00547, allocations: 112 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.005472, allocations: 1.25 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.005525, allocations: 45.67 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.005616, allocations: 326.8 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.005659, allocations: 16.56 kB / 0.7344 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.005756, allocations: 146.8 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.005939, allocations: 250.9 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.005944, allocations: 4.906 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002243/0.006168, allocations: 205.5 kB / 0.735 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.00619, allocations: 8 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.006199, allocations: 7.938 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.006217, allocations: 8 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.006359, allocations: 52.94 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.006366, allocations: 4 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.006427, allocations: 24.38 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.006442, allocations: 8 kB / 0.7351 GB, free: 14.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001049/0.006547, allocations: 213.2 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.006596, allocations: 104.9 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.006648, allocations: 117.5 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/0.006705, allocations: 180.8 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.589e-05/0.006781, allocations: 181.4 kB / 0.7358 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/0.006831, allocations: 176.3 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.006995, allocations: 345.3 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-05/0.007026, allocations: 105.9 kB / 0.7364 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.007057, allocations: 108.9 kB / 0.7365 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.007102, allocations: 120.8 kB / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.635e-05/0.007149, allocations: 181 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.007202, allocations: 184.2 kB / 0.737 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-05/0.007252, allocations: 181.2 kB / 0.7372 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.828e-05/0.0073, allocations: 180.3 kB / 0.7373 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.007424, allocations: 316.3 kB / 0.7376 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.007483, allocations: 185.8 kB / 0.7378 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.007536, allocations: 101 kB / 0.7379 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.007591, allocations: 184.2 kB / 0.7381 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.007619, allocations: 101 kB / 0.7382 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.007675, allocations: 62.17 kB / 0.7382 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007675, allocations: 1.625 kB / 0.7382 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001873/0.007863, allocations: 24 kB / 0.7383 GB, free: 11.11 MB / 0.7136 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.0001807/0.008043, allocations: 158.1 kB / 0.7384 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.008182, allocations: 80.31 kB / 0.7385 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.008191, allocations: 3.984 kB / 0.7385 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.008195, allocations: 4 kB / 0.7385 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.008464, allocations: 471.6 kB / 0.7389 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.008969, allocations: 281.5 kB / 0.7392 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.009016, allocations: 74.3 kB / 0.7393 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.009043, allocations: 7.984 kB / 0.7393 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.00909, allocations: 55.38 kB / 0.7393 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of SimCode: time 6.42e-07/0.00909, allocations: 0 / 0.7393 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.003043/0.01213, allocations: 1.009 MB / 0.7403 GB, free: 9.004 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159799551591277]