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.0009956/0.0009956, 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.0008976/0.0008976, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9653/0.9653, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 1.993/1.993, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 1.744e-06/1.744e-06, allocations: 0 / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.894e-05, allocations: 3.406 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001729/0.001748, allocations: 1.285 MB / 0.8794 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000198/0.001946, allocations: 45.38 kB / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.001972, allocations: 0 / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.00201, allocations: 0 / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.002135, allocations: 17.28 kB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.0023, allocations: 8.703 kB / 0.8795 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.002375, allocations: 19.31 kB / 0.8795 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.002414, allocations: 3.984 kB / 0.8795 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.002459, allocations: 12 kB / 0.8795 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.002514, allocations: 9.734 kB / 0.8795 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.002528, allocations: 0 / 0.8795 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.209e-05/0.0026, allocations: 7.938 kB / 0.8795 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.002683, allocations: 59.8 kB / 0.8796 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.002713, allocations: 19.94 kB / 0.8796 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.002824, allocations: 71.7 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002826, allocations: 0 / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002826, allocations: 0 / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002831, allocations: 0 / 0.8796 GB, free: 4.836 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.0003241/0.003155, allocations: 459.8 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.00319, allocations: 8.625 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.003249, allocations: 132 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.003364, allocations: 253 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.003425, allocations: 246.7 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.003482, allocations: 246.8 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.086e-05/0.003543, allocations: 149.8 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.003568, allocations: 120.7 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.003621, allocations: 238.4 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.003673, allocations: 242.3 kB / 0.8816 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.003725, allocations: 242.4 kB / 0.8819 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.00399, allocations: 0.6264 MB / 0.8825 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.004076, allocations: 269.4 kB / 0.8827 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.00411, allocations: 126.9 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.004137, allocations: 123.2 kB / 0.883 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.004178, allocations: 160.6 kB / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.004178, allocations: 0 / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.588e-05/0.004244, allocations: 41.53 kB / 0.8832 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.004293, allocations: 170.6 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.004452, allocations: 278.4 kB / 0.8836 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.004462, allocations: 25.7 kB / 0.8836 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.00452, allocations: 162.8 kB / 0.8838 GB, free: 420 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.004522, allocations: 4 kB / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.004564, allocations: 43.36 kB / 0.8838 GB, free: 364 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.004687, allocations: 0.4962 MB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.004716, allocations: 19.98 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.004738, allocations: 13.88 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.004806, allocations: 60.92 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004808, allocations: 0 / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001545/0.004962, allocations: 117.5 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004973, allocations: 4 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004978, allocations: 64 / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.004988, allocations: 8 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.004991, allocations: 0 / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.004994, allocations: 0 / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.005023, allocations: 15.84 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.005037, allocations: 8 kB / 0.8846 GB, free: 15.6 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 8.379e-05/0.005121, allocations: 275.8 kB / 0.8848 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.005405, allocations: 164.8 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.00546, allocations: 161.3 kB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.634e-05/0.005526, allocations: 272.1 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.988e-05/0.005586, allocations: 272 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/0.00564, allocations: 272.1 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.005808, allocations: 0.5194 MB / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.005839, allocations: 152.8 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.00587, allocations: 148.8 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.875e-05/0.005929, allocations: 276 kB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.005987, allocations: 272 kB / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.478e-05/0.006042, allocations: 264.1 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.838e-05/0.006101, allocations: 268 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006225, allocations: 459.9 kB / 0.8882 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.006267, allocations: 160.8 kB / 0.8883 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.006335, allocations: 276 kB / 0.8886 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-05/0.006392, allocations: 144.9 kB / 0.8887 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.00646, allocations: 272.1 kB / 0.889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.006498, allocations: 148.8 kB / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.855e-05/0.006577, allocations: 188.5 kB / 0.8893 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006577, allocations: 0 / 0.8893 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001538/0.006731, allocations: 16 kB / 0.8893 GB, free: 10.52 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.0001239/0.006854, allocations: 218.4 kB / 0.8895 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.006937, allocations: 40.8 kB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006939, allocations: 4.062 kB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.006941, allocations: 0 / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.007232, allocations: 0.7177 MB / 0.8903 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.007541, allocations: 322.3 kB / 0.8906 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.00758, allocations: 75.31 kB / 0.8907 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.007594, allocations: 7.984 kB / 0.8907 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.007615, allocations: 8.5 kB / 0.8907 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.007616, allocations: 4 kB / 0.8907 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of Templates: time 0.002457/0.01007, allocations: 0.8069 MB / 0.8915 GB, free: 8.262 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: 4.997508959844708]