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.001364/0.001364, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001701/0.001701, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9933/0.9933, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.346/2.346, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.342e-06/1.342e-06, allocations: 0 / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.418e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001664/0.001689, allocations: 1.27 MB / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.001864, allocations: 59.77 kB / 0.891 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.001892, allocations: 0 / 0.891 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.001925, allocations: 0 / 0.891 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.002031, allocations: 11.98 kB / 0.891 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.002155, allocations: 11.92 kB / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.002214, allocations: 15.94 kB / 0.891 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.002245, allocations: 7.969 kB / 0.8911 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.002288, allocations: 4 kB / 0.8911 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.002339, allocations: 16.67 kB / 0.8911 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.002352, allocations: 0 / 0.8911 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.00242, allocations: 11.94 kB / 0.8911 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.002492, allocations: 44.47 kB / 0.8911 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.002514, allocations: 27.94 kB / 0.8912 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.09e-05/0.002605, allocations: 67.69 kB / 0.8912 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002606, allocations: 4 kB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002607, allocations: 3.938 kB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.485e-06/0.00261, allocations: 0 / 0.8912 GB, free: 8.262 MB / 0.8542 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.0002917/0.002901, allocations: 459.8 kB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.002935, allocations: 8.625 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.002986, allocations: 132 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.003086, allocations: 251.6 kB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.003137, allocations: 242.7 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.003191, allocations: 246.7 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.321e-05/0.003244, allocations: 153 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.003275, allocations: 119.2 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.003324, allocations: 242.4 kB / 0.893 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.003372, allocations: 238.4 kB / 0.8932 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.003429, allocations: 246.4 kB / 0.8935 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.003638, allocations: 0.5841 MB / 0.894 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.003707, allocations: 269.4 kB / 0.8943 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.003733, allocations: 126.9 kB / 0.8944 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.003758, allocations: 119.2 kB / 0.8945 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.003798, allocations: 156.6 kB / 0.8947 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.003799, allocations: 8 kB / 0.8947 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.122e-05/0.00385, allocations: 45.48 kB / 0.8947 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.003893, allocations: 170.6 kB / 0.8949 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.004028, allocations: 274.4 kB / 0.8951 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.004037, allocations: 25.7 kB / 0.8952 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.00409, allocations: 158.8 kB / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.004093, allocations: 3.984 kB / 0.8953 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.004132, allocations: 47.33 kB / 0.8954 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.004242, allocations: 0.504 MB / 0.8959 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.004265, allocations: 12 kB / 0.8959 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.004283, allocations: 19.98 kB / 0.8959 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.004339, allocations: 57.28 kB / 0.8959 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.004341, allocations: 0 / 0.8959 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001242/0.004465, allocations: 99.59 kB / 0.896 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.004477, allocations: 14.44 kB / 0.8961 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004482, allocations: 3.984 kB / 0.8961 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.004491, allocations: 0 / 0.8961 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-06/0.004494, allocations: 3.938 kB / 0.8961 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-06/0.004496, allocations: 0 / 0.8961 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.004521, allocations: 15.84 kB / 0.8961 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.004532, allocations: 7.984 kB / 0.8961 GB, free: 3.078 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 7.668e-05/0.004609, allocations: 275.8 kB / 0.8963 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.004654, allocations: 164.8 kB / 0.8965 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.0047, allocations: 161.2 kB / 0.8967 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.004753, allocations: 268.1 kB / 0.8969 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.337e-05/0.004806, allocations: 272.1 kB / 0.8972 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/0.004865, allocations: 264.1 kB / 0.8974 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.005026, allocations: 0.4966 MB / 0.8979 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/0.005057, allocations: 152.8 kB / 0.8981 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.005089, allocations: 148.9 kB / 0.8982 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-05/0.005143, allocations: 268 kB / 0.8985 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.005201, allocations: 272.1 kB / 0.8987 GB, free: 280 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.775e-05/0.005258, allocations: 264.1 kB / 0.899 GB, free: 8 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.504e-05/0.005323, allocations: 275.9 kB / 0.8992 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.005432, allocations: 455.9 kB / 0.8997 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.005474, allocations: 160.8 kB / 0.8998 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.005534, allocations: 272.3 kB / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.00559, allocations: 148.8 kB / 0.9002 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.005645, allocations: 272 kB / 0.9005 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.005676, allocations: 152.8 kB / 0.9006 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.005735, allocations: 172.5 kB / 0.9008 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005735, allocations: 0 / 0.9008 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001457/0.005881, allocations: 23.98 kB / 0.9008 GB, free: 14.05 MB / 0.8698 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.0001158/0.005997, allocations: 229.3 kB / 0.901 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.006064, allocations: 35.67 kB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006066, allocations: 0 / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.006067, allocations: 0 / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.006341, allocations: 0.7062 MB / 0.9018 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.006603, allocations: 334.3 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.006638, allocations: 71.33 kB / 0.9021 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.006651, allocations: 7.984 kB / 0.9021 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.006686, allocations: 74.14 kB / 0.9022 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/0.006686, allocations: 0 / 0.9022 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.002135/0.008821, allocations: 0.8042 MB / 0.903 GB, free: 11.73 MB / 0.8698 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.184539565816522]