Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001037/0.001037, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009792/0.0009792, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9371/0.9371, allocations: 177.1 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.817/1.817, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.815e-05, allocations: 9.453 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003222/0.00326, allocations: 1.26 MB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.003554, allocations: 52.64 kB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.003593, allocations: 0 / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.003645, allocations: 1.031 kB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.003796, allocations: 11.94 kB / 0.7884 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.004035, allocations: 11.97 kB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.004135, allocations: 13.03 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.004187, allocations: 3.984 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.004251, allocations: 12 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.004336, allocations: 17.22 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.004354, allocations: 0.6875 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.004461, allocations: 7.938 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.004578, allocations: 49.38 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.00462, allocations: 20.59 kB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004799, allocations: 72.42 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.004803, allocations: 0 / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004805, allocations: 1.656 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.004811, allocations: 0 / 0.7886 GB, free: 10.98 MB / 0.7448 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.0004914/0.005302, allocations: 459.8 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.00535, allocations: 8.031 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.005434, allocations: 132 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005565, allocations: 260.9 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.005622, allocations: 238.8 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.005696, allocations: 242.8 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.721e-05/0.005763, allocations: 150.6 kB / 0.79 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.005795, allocations: 127.2 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.005854, allocations: 238.4 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.005912, allocations: 238.4 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.00597, allocations: 249.8 kB / 0.7908 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.006252, allocations: 0.6187 MB / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.00635, allocations: 266 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.00639, allocations: 126.9 kB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.00642, allocations: 119.2 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.006468, allocations: 160.6 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.00647, allocations: 0 / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.524e-05/0.006545, allocations: 45.48 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.006608, allocations: 174.6 kB / 0.7923 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.006794, allocations: 274.3 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.006805, allocations: 25.7 kB / 0.7926 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.006872, allocations: 163.5 kB / 0.7927 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.006874, allocations: 4 kB / 0.7927 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.00692, allocations: 47.94 kB / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.007049, allocations: 0.4962 MB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.007085, allocations: 17.09 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.00711, allocations: 15.98 kB / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.007188, allocations: 61.64 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007189, allocations: 0 / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001786/0.007368, allocations: 114.8 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.007381, allocations: 4 kB / 0.7934 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.007388, allocations: 0 / 0.7934 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007401, allocations: 5.094 kB / 0.7935 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-06/0.007405, allocations: 3.984 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.00741, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.007441, allocations: 12.73 kB / 0.7935 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.007457, allocations: 8 kB / 0.7935 GB, free: 5.758 MB / 0.7448 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.468e-05/0.007552, allocations: 276.7 kB / 0.7937 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.007605, allocations: 164.7 kB / 0.7939 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.007659, allocations: 162.4 kB / 0.794 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/0.00772, allocations: 268.1 kB / 0.7943 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.634e-05/0.007786, allocations: 272 kB / 0.7946 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-05/0.007847, allocations: 269 kB / 0.7948 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.00804, allocations: 0.5271 MB / 0.7953 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.008075, allocations: 151.1 kB / 0.7955 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.00811, allocations: 144.9 kB / 0.7956 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.022e-05/0.00818, allocations: 268 kB / 0.7959 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.008245, allocations: 276 kB / 0.7961 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.008305, allocations: 272 kB / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-05/0.008365, allocations: 264.1 kB / 0.7966 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.008504, allocations: 454.8 kB / 0.7971 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.008562, allocations: 168.8 kB / 0.7972 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.00864, allocations: 272 kB / 0.7975 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.008696, allocations: 144.9 kB / 0.7976 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.008757, allocations: 272 kB / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.008806, allocations: 144.9 kB / 0.798 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.008886, allocations: 184.5 kB / 0.7982 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008886, allocations: 0 / 0.7982 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001592/0.009045, allocations: 17.47 kB / 0.7982 GB, free: 0.6953 MB / 0.7448 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.0001605/0.009205, allocations: 226.4 kB / 0.7984 GB, free: 476 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.86e-05/0.009304, allocations: 38.36 kB / 0.7985 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009306, allocations: 0 / 0.7985 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.009308, allocations: 4.5 kB / 0.7985 GB, free: 432 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.009665, allocations: 0.7067 MB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.01, allocations: 332.1 kB / 0.7995 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01004, allocations: 72.2 kB / 0.7996 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.01006, allocations: 7.984 kB / 0.7996 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.01008, allocations: 12.48 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.01008, allocations: 5.719 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.002592/0.01268, allocations: 0.8135 MB / 0.8004 GB, free: 14.45 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.889248301740736]