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.001161/0.001161, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001125/0.001125, allocations: 165 kB / 23.01 MB, free: 1.555 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.9478/0.9478, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.12/2.12, allocations: 429.5 MB / 0.6733 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.796e-06/2.796e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.778e-05/4.058e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003301/0.003342, allocations: 1.284 MB / 0.8794 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.003678, allocations: 53.66 kB / 0.8794 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.003718, allocations: 0 / 0.8794 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.003776, allocations: 5.297 kB / 0.8794 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.003927, allocations: 1.203 kB / 0.8794 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.00416, allocations: 17.56 kB / 0.8795 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.004261, allocations: 15.5 kB / 0.8795 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.004312, allocations: 5.609 kB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.004376, allocations: 8.656 kB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.004455, allocations: 13.81 kB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004475, allocations: 0 / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.00458, allocations: 15.88 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.004702, allocations: 45.56 kB / 0.8796 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.004748, allocations: 21.03 kB / 0.8796 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004935, allocations: 71.7 kB / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.00494, allocations: 0 / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.004941, allocations: 0.6562 kB / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.004953, allocations: 0.5312 kB / 0.8797 GB, free: 4.812 MB / 0.8386 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.0005397/0.005492, allocations: 459.8 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.005547, allocations: 8.906 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.005644, allocations: 132 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.005836, allocations: 260.8 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.005932, allocations: 238.8 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.006028, allocations: 242.8 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.006125, allocations: 154.7 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.006168, allocations: 119.2 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.006253, allocations: 242.4 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/0.006336, allocations: 239.5 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.00642, allocations: 242.4 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.00683, allocations: 0.6187 MB / 0.8825 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.006977, allocations: 274.5 kB / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.00703, allocations: 126.9 kB / 0.8829 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.007068, allocations: 119.2 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/0.007131, allocations: 153.6 kB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.007133, allocations: 4 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.007238, allocations: 40.69 kB / 0.8832 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.007314, allocations: 178.5 kB / 0.8833 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.0076, allocations: 274.4 kB / 0.8836 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.007617, allocations: 25.7 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.007715, allocations: 162.8 kB / 0.8838 GB, free: 408 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.007719, allocations: 4 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.007797, allocations: 47.34 kB / 0.8838 GB, free: 348 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.007991, allocations: 0.4962 MB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.008044, allocations: 16 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.008085, allocations: 17.42 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.008202, allocations: 65.11 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.008205, allocations: 0 / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000281/0.008486, allocations: 114 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.00851, allocations: 4 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.008519, allocations: 1.625 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.00854, allocations: 0 / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-06/0.008545, allocations: 4 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.008553, allocations: 3.984 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.008607, allocations: 16.84 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.008631, allocations: 8 kB / 0.8846 GB, free: 15.58 MB / 0.8542 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 0.000141/0.008771, allocations: 272.3 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.00886, allocations: 162.4 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.008949, allocations: 173.3 kB / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-05/0.009036, allocations: 268.1 kB / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.009121, allocations: 264.1 kB / 0.8856 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/0.009206, allocations: 272.1 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.009495, allocations: 0.5312 MB / 0.8864 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.009545, allocations: 152.8 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.009591, allocations: 144.9 kB / 0.8867 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.009678, allocations: 264.1 kB / 0.887 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/0.009767, allocations: 276 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.28e-05/0.00985, allocations: 268.1 kB / 0.8875 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.401e-05/0.009934, allocations: 268 kB / 0.8877 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.01013, allocations: 455.9 kB / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.0102, allocations: 160.8 kB / 0.8883 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.0103, allocations: 272 kB / 0.8886 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.0104, allocations: 152.8 kB / 0.8887 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.01049, allocations: 272.1 kB / 0.889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.01054, allocations: 148.8 kB / 0.8891 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01065, allocations: 184.5 kB / 0.8893 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01065, allocations: 0 / 0.8893 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001704/0.01082, allocations: 16 kB / 0.8893 GB, free: 10.51 MB / 0.8542 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.000192/0.01102, allocations: 222.4 kB / 0.8895 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01113, allocations: 40.8 kB / 0.8896 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01113, allocations: 0 / 0.8896 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01113, allocations: 4.062 kB / 0.8896 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01146, allocations: 0.71 MB / 0.8903 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.01184, allocations: 326.2 kB / 0.8906 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.763e-05/0.01189, allocations: 71.33 kB / 0.8906 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.01191, allocations: 7.984 kB / 0.8907 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.01193, allocations: 8.5 kB / 0.8907 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.01193, allocations: 0 / 0.8907 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of Templates: time 0.002809/0.01474, allocations: 0.729 MB / 0.8914 GB, free: 8.332 MB / 0.8542 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 -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.608323846012354]