Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.001483/0.001483, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001303/0.001303, allocations: 169 kB / 24.06 MB, free: 456 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 0.953/0.953, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.979/1.979, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 178] 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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 3.938 kB / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.521e-05, allocations: 4.562 kB / 0.8793 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002891/0.002906, allocations: 1.718 MB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004073, allocations: 0.6467 MB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.004158, allocations: 0 / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.004569, allocations: 134.6 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.005033, allocations: 204.7 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.005447, allocations: 193.1 kB / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.00575, allocations: 231.4 kB / 0.8824 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005867, allocations: 21.8 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007572/0.006625, allocations: 207 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.006839, allocations: 155.7 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.00687, allocations: 12 kB / 0.8828 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.006963, allocations: 43.92 kB / 0.8828 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.007058, allocations: 79.7 kB / 0.8829 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.007124, allocations: 55.77 kB / 0.8829 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.007424, allocations: 191.2 kB / 0.8831 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.007427, allocations: 0.7188 kB / 0.8831 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007427, allocations: 0 / 0.8831 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.007432, allocations: 1.344 kB / 0.8831 GB, free: 2.238 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007409/0.008173, allocations: 0.6313 MB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.00821, allocations: 8.031 kB / 0.8837 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.008285, allocations: 48.69 kB / 0.8838 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.008687, allocations: 281.5 kB / 0.8841 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.008698, allocations: 384 / 0.8841 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.00871, allocations: 4.375 kB / 0.8841 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.008842, allocations: 66.88 kB / 0.8841 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.008849, allocations: 192 / 0.8841 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.008859, allocations: 8.125 kB / 0.8841 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008865, allocations: 4 kB / 0.8841 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.008904, allocations: 11.92 kB / 0.8841 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.009305, allocations: 340.1 kB / 0.8845 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.009388, allocations: 39 kB / 0.8845 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.009409, allocations: 11.75 kB / 0.8845 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.009426, allocations: 3.984 kB / 0.8845 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.009455, allocations: 41.39 kB / 0.8846 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.009457, allocations: 0 / 0.8846 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001736/0.00963, allocations: 69.53 kB / 0.8846 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.009664, allocations: 55.41 kB / 0.8847 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.01009, allocations: 434.5 kB / 0.8851 GB, free: 48 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.0101, allocations: 25.7 kB / 0.8851 GB, free: 16 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.01027, allocations: 234.8 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.01029, allocations: 19.89 kB / 0.8854 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.01033, allocations: 19.38 kB / 0.8854 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.01051, allocations: 0.5235 MB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.01053, allocations: 4 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.01054, allocations: 3.984 kB / 0.8859 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.01058, allocations: 19.69 kB / 0.8859 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01058, allocations: 3.938 kB / 0.8859 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001111/0.01069, allocations: 69.72 kB / 0.886 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.0107, allocations: 8 kB / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01071, allocations: 0 / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01072, allocations: 4.047 kB / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.01079, allocations: 7.984 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01079, allocations: 0 / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.01085, allocations: 11.92 kB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.01085, allocations: 0 / 0.886 GB, free: 15.06 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 9.719e-05/0.01095, allocations: 164.5 kB / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.01101, allocations: 35.7 kB / 0.8862 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.01114, allocations: 72.25 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01114, allocations: 0 / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01114, allocations: 0 / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01115, allocations: 7.984 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.01137, allocations: 169.2 kB / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01137, allocations: 0 / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.01143, allocations: 15.98 kB / 0.8865 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01143, allocations: 3.938 kB / 0.8865 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.01143, allocations: 0 / 0.8865 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01144, allocations: 0 / 0.8865 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01144, allocations: 0 / 0.8865 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01159, allocations: 219.7 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.01164, allocations: 27.81 kB / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01167, allocations: 7.938 kB / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.01175, allocations: 7.984 kB / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.01179, allocations: 8 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01179, allocations: 0 / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002397/0.01203, allocations: 275 kB / 0.887 GB, free: 14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01203, allocations: 0 / 0.887 GB, free: 14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002751/0.01231, allocations: 23.95 kB / 0.887 GB, free: 13.98 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 (3): * Single equations (assignments): 3 * 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.0008964/0.0132, allocations: 336.2 kB / 0.8873 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.56e-05/0.01329, allocations: 23.67 kB / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01329, allocations: 0 / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.01332, allocations: 15.62 kB / 0.8874 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.01368, allocations: 55.25 kB / 0.8874 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01428, allocations: 403.8 kB / 0.8878 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.01436, allocations: 104.3 kB / 0.8879 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.509e-05/0.01443, allocations: 25.94 kB / 0.8879 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01455, allocations: 102.2 kB / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01456, allocations: 3.938 kB / 0.888 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.00608/0.02064, allocations: 2.669 MB / 0.8906 GB, free: 10.35 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.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.307598654646426]