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.001065/0.001065, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001063/0.001063, allocations: 173 kB / 23.36 MB, free: 1.129 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.497/2.497, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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 2.134e-06/2.134e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.168e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002398/0.00243, allocations: 1.306 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.002678, allocations: 55.84 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.002711, allocations: 0 / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.00275, allocations: 3.984 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.002891, allocations: 19.86 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.003036, allocations: 7.984 kB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.003115, allocations: 15.94 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.003154, allocations: 3.984 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.003212, allocations: 7.984 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.003279, allocations: 8.734 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.003297, allocations: 4 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.003399, allocations: 11.94 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.003485, allocations: 52.41 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.003512, allocations: 23.94 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.003637, allocations: 67.69 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.00364, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003642, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.003648, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 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.0003321/0.00398, allocations: 332.1 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.00402, allocations: 12.62 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.004073, allocations: 76.22 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004188, allocations: 212.8 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.00423, allocations: 154.9 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.004272, allocations: 158.9 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.318e-05/0.004326, allocations: 109.1 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.004349, allocations: 79.27 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.004388, allocations: 150.6 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.004425, allocations: 150.6 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.004463, allocations: 154.5 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.004651, allocations: 365.2 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.004725, allocations: 169.1 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.00475, allocations: 80.14 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.004774, allocations: 83.33 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.004909, allocations: 109.8 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.00491, allocations: 4 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.282e-05/0.004973, allocations: 41.56 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.00502, allocations: 126.7 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.005172, allocations: 203.1 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005182, allocations: 25.7 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.005226, allocations: 108 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-06/0.005228, allocations: 0 / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.005267, allocations: 37.66 kB / 0.8429 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.005358, allocations: 326.8 kB / 0.8433 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.005396, allocations: 14.83 kB / 0.8433 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.005415, allocations: 15.98 kB / 0.8433 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.005483, allocations: 50.8 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.005489, allocations: 4 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001229/0.005612, allocations: 85.61 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.005622, allocations: 4 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.005626, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005637, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.005639, allocations: 4 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.005643, allocations: 3.938 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.00567, allocations: 7.891 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.005686, allocations: 7.984 kB / 0.8434 GB, free: 9.039 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 7.871e-05/0.005764, allocations: 196 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.005808, allocations: 108.9 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.00585, allocations: 109.5 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.005892, allocations: 180.3 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/0.005938, allocations: 188.1 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/0.005984, allocations: 184.3 kB / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.006136, allocations: 341.3 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.006162, allocations: 101 kB / 0.8448 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.006188, allocations: 101 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.813e-05/0.006236, allocations: 184.2 kB / 0.8451 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.006283, allocations: 180.3 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.927e-05/0.006333, allocations: 184.2 kB / 0.8454 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.576e-05/0.006378, allocations: 180.3 kB / 0.8456 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006497, allocations: 315.7 kB / 0.8459 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.006538, allocations: 117.1 kB / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.00659, allocations: 180.2 kB / 0.8462 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.006643, allocations: 105 kB / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.006694, allocations: 180.3 kB / 0.8464 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.006724, allocations: 108.9 kB / 0.8465 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.006776, allocations: 58.19 kB / 0.8466 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006776, allocations: 4 kB / 0.8466 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001478/0.006923, allocations: 23.94 kB / 0.8466 GB, free: 5.605 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.0001472/0.007071, allocations: 163 kB / 0.8468 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.007154, allocations: 28.83 kB / 0.8468 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.007159, allocations: 0 / 0.8468 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.007163, allocations: 7.938 kB / 0.8468 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.007387, allocations: 455.7 kB / 0.8472 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.007692, allocations: 291.5 kB / 0.8475 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.007734, allocations: 67.33 kB / 0.8476 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.007748, allocations: 4 kB / 0.8476 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.007784, allocations: 51.38 kB / 0.8476 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.007784, allocations: 0 / 0.8476 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of Templates: time 0.002343/0.01013, allocations: 0.81 MB / 0.8484 GB, free: 3.688 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.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.420729351229966]