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.00154/0.00154, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001623/0.001623, allocations: 169.3 kB / 24.28 MB, free: 284 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.858/1.858, allocations: 359 MB / 0.6055 GB, free: 10.99 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.004e-06/2.004e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.389e-05, allocations: 3.156 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002201/0.002225, allocations: 1.265 MB / 0.7883 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.002453, allocations: 55.78 kB / 0.7883 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.002492, allocations: 0 / 0.7883 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.00254, allocations: 1.219 kB / 0.7883 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.002677, allocations: 3.984 kB / 0.7884 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.002852, allocations: 8 kB / 0.7884 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.002938, allocations: 20.59 kB / 0.7884 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.002986, allocations: 4 kB / 0.7884 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.003046, allocations: 13.52 kB / 0.7884 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.003111, allocations: 4.75 kB / 0.7884 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.003131, allocations: 0 / 0.7884 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.003218, allocations: 19.86 kB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.003303, allocations: 55.89 kB / 0.7885 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.003335, allocations: 23.94 kB / 0.7885 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003449, allocations: 63.66 kB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00345, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003452, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003456, allocations: 0 / 0.7886 GB, free: 11.32 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.0003762/0.003832, allocations: 459.9 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.003872, allocations: 12.75 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.003946, allocations: 136 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004082, allocations: 257.3 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.004143, allocations: 242.8 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.004205, allocations: 238.8 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.004268, allocations: 149 kB / 0.79 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.004297, allocations: 119.2 kB / 0.7901 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.004358, allocations: 243.4 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.004415, allocations: 242.4 kB / 0.7906 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.004472, allocations: 242.4 kB / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.004747, allocations: 0.6273 MB / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.004844, allocations: 262 kB / 0.7917 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.004882, allocations: 132.2 kB / 0.7918 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.004909, allocations: 119.2 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.004955, allocations: 156.6 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.004955, allocations: 1 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.26e-05/0.005028, allocations: 41.55 kB / 0.7921 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.005086, allocations: 170.6 kB / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.005305, allocations: 282.6 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.005321, allocations: 25.7 kB / 0.7925 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.005419, allocations: 163.9 kB / 0.7927 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.005422, allocations: 0 / 0.7927 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.005487, allocations: 47.36 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.005644, allocations: 0.5093 MB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.005679, allocations: 15.94 kB / 0.7933 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.005705, allocations: 18.06 kB / 0.7933 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/0.005779, allocations: 57.3 kB / 0.7933 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005781, allocations: 0.5312 kB / 0.7933 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001826/0.005964, allocations: 110.1 kB / 0.7934 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.005977, allocations: 8 kB / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.005983, allocations: 0.5312 kB / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005995, allocations: 0.8125 kB / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.005996, allocations: 0 / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.006, allocations: 0.875 kB / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.006027, allocations: 11.89 kB / 0.7935 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.006041, allocations: 4 kB / 0.7935 GB, free: 6.102 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.403e-05/0.006135, allocations: 284.2 kB / 0.7937 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.006224, allocations: 166.2 kB / 0.7939 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.006272, allocations: 153.4 kB / 0.794 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/0.006336, allocations: 276 kB / 0.7943 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.619e-05/0.006392, allocations: 265.4 kB / 0.7945 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001313/0.006523, allocations: 276.1 kB / 0.7948 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.006712, allocations: 0.5233 MB / 0.7953 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/0.006744, allocations: 144.9 kB / 0.7955 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.006777, allocations: 153.5 kB / 0.7956 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/0.006838, allocations: 268.8 kB / 0.7959 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.006905, allocations: 272 kB / 0.7961 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-05/0.006964, allocations: 268.9 kB / 0.7964 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001988/0.007163, allocations: 268.1 kB / 0.7966 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.007293, allocations: 456.8 kB / 0.7971 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.007344, allocations: 164.7 kB / 0.7972 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.007422, allocations: 272 kB / 0.7975 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.007487, allocations: 154.1 kB / 0.7976 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.007562, allocations: 268 kB / 0.7979 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.007596, allocations: 144.9 kB / 0.798 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.00768, allocations: 181.4 kB / 0.7982 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00768, allocations: 0 / 0.7982 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001566/0.007837, allocations: 16 kB / 0.7982 GB, free: 1.035 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.0001508/0.007988, allocations: 232.5 kB / 0.7984 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.008082, allocations: 35.62 kB / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008083, allocations: 0 / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.008084, allocations: 0 / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.008404, allocations: 0.7132 MB / 0.7992 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.008728, allocations: 330.1 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.008769, allocations: 71.31 kB / 0.7996 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.464e-05/0.008784, allocations: 7.984 kB / 0.7996 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.008805, allocations: 13.72 kB / 0.7996 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.008806, allocations: 0 / 0.7996 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.002753/0.01156, allocations: 0.7391 MB / 0.8003 GB, free: 14.86 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: 5.23071490903385]