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.0009933/0.0009933, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001072/0.001072, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.063/1.063, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.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.96/1.96, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 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 1.493e-06/1.493e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.843e-05, allocations: 3.438 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002139/0.002167, allocations: 1.316 MB / 0.7613 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.002409, allocations: 57.36 kB / 0.7614 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.002445, allocations: 1.594 kB / 0.7614 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.002485, allocations: 3.938 kB / 0.7614 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.002632, allocations: 5.406 kB / 0.7614 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002785, allocations: 13.19 kB / 0.7614 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.00287, allocations: 16.11 kB / 0.7614 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.002911, allocations: 5.312 kB / 0.7614 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.00297, allocations: 8.641 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.003043, allocations: 9.391 kB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003059, allocations: 0 / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.003174, allocations: 14.16 kB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.003273, allocations: 57.98 kB / 0.7615 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.003303, allocations: 21.41 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.00343, allocations: 61.47 kB / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003433, allocations: 0 / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003434, allocations: 5.188 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.003439, allocations: 0 / 0.7616 GB, free: 5.078 MB / 0.7136 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.0003322/0.003771, allocations: 324.2 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.003816, allocations: 12.78 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.003863, allocations: 76.22 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.004092, allocations: 210.1 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.004141, allocations: 158.9 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.004187, allocations: 155.7 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.77e-05/0.004245, allocations: 105.1 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.004267, allocations: 80.38 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.004309, allocations: 154.6 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.004349, allocations: 150.6 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.004391, allocations: 155.7 kB / 0.7631 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.004576, allocations: 369.2 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.355e-05/0.00465, allocations: 165.1 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.004682, allocations: 80.89 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.004712, allocations: 83.31 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.004754, allocations: 118.5 kB / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.004754, allocations: 0 / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.436e-05/0.004819, allocations: 34.39 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.004867, allocations: 126.7 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.005018, allocations: 212.4 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005029, allocations: 29.7 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.005074, allocations: 104 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.005077, allocations: 0 / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.005119, allocations: 33.67 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.005214, allocations: 324.5 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.005253, allocations: 14.81 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.005274, allocations: 12 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.005348, allocations: 56.09 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005351, allocations: 0 / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001435/0.005494, allocations: 86.8 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.00551, allocations: 4 kB / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.005517, allocations: 0 / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.00553, allocations: 0 / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.005531, allocations: 0 / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005535, allocations: 3.938 kB / 0.7649 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.005565, allocations: 15.84 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.005579, allocations: 4 kB / 0.7649 GB, free: 1.539 MB / 0.7136 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.679e-05/0.005676, allocations: 199 kB / 0.7651 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.005725, allocations: 108.9 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.005771, allocations: 113.5 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/0.005818, allocations: 184.2 kB / 0.7655 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-05/0.005869, allocations: 184.2 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/0.005917, allocations: 180.3 kB / 0.7658 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.006077, allocations: 349.3 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/0.006105, allocations: 101 kB / 0.7662 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.006149, allocations: 106.4 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-05/0.0062, allocations: 184.2 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.006246, allocations: 176.3 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.564e-05/0.006291, allocations: 180.2 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.656e-05/0.006338, allocations: 181.7 kB / 0.767 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.006453, allocations: 315.7 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.006495, allocations: 112.9 kB / 0.7674 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.006558, allocations: 184.2 kB / 0.7676 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.006613, allocations: 106.2 kB / 0.7677 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.00667, allocations: 184.2 kB / 0.7679 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.006698, allocations: 101 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.006753, allocations: 62.83 kB / 0.768 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006753, allocations: 0 / 0.768 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001475/0.006901, allocations: 24.56 kB / 0.7681 GB, free: 14.1 MB / 0.7292 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.0001562/0.007057, allocations: 156.3 kB / 0.7682 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.007151, allocations: 33.73 kB / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.007154, allocations: 0 / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.007155, allocations: 6.594 kB / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.007392, allocations: 455.7 kB / 0.7687 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.007733, allocations: 287.4 kB / 0.769 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.007777, allocations: 70.45 kB / 0.769 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.007794, allocations: 11.98 kB / 0.769 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.007836, allocations: 51.36 kB / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.007837, allocations: 0 / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.002928/0.01076, allocations: 0.8073 MB / 0.7699 GB, free: 12.24 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.2232600399293005]