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.001303/0.001303, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001068/0.001068, allocations: 169.7 kB / 23.27 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.9222/0.9222, allocations: 177.1 MB / 203.7 MB, free: 5.473 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.262/2.262, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.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.894e-06/1.894e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.158e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002434/0.002456, allocations: 1.708 MB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.003403, allocations: 0.6505 MB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003509, allocations: 3.938 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.003957, allocations: 127.5 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.004467, allocations: 203.1 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.004961, allocations: 199.4 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.005414, allocations: 227.5 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.005568, allocations: 21.8 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.006115, allocations: 189.2 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.006289, allocations: 159.7 kB / 0.8931 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.006315, allocations: 12 kB / 0.8931 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.006392, allocations: 36 kB / 0.8931 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.006463, allocations: 83.75 kB / 0.8932 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.006509, allocations: 55.78 kB / 0.8933 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.00674, allocations: 203.1 kB / 0.8935 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.006742, allocations: 0 / 0.8935 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006743, allocations: 0 / 0.8935 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006748, allocations: 0 / 0.8935 GB, free: 5.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004979/0.007246, allocations: 0.6313 MB / 0.8941 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.007285, allocations: 8.625 kB / 0.8941 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.007333, allocations: 40.64 kB / 0.8941 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.007593, allocations: 281.5 kB / 0.8944 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.007602, allocations: 384 / 0.8944 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.007614, allocations: 8.375 kB / 0.8944 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.007738, allocations: 66.94 kB / 0.8945 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.007745, allocations: 192 / 0.8945 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.007753, allocations: 4.125 kB / 0.8945 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.007763, allocations: 4 kB / 0.8945 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.007793, allocations: 15.86 kB / 0.8945 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.00816, allocations: 332.2 kB / 0.8948 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.008238, allocations: 43.02 kB / 0.8948 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.008259, allocations: 15.75 kB / 0.8949 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.008287, allocations: 3.984 kB / 0.8949 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.008311, allocations: 37.39 kB / 0.8949 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.008313, allocations: 0 / 0.8949 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/0.008483, allocations: 77.39 kB / 0.895 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.00852, allocations: 51.41 kB / 0.895 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.008858, allocations: 434.6 kB / 0.8954 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.008872, allocations: 25.7 kB / 0.8955 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.009027, allocations: 238.7 kB / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.009053, allocations: 11.94 kB / 0.8957 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.009085, allocations: 23.38 kB / 0.8957 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.009277, allocations: 0.5235 MB / 0.8962 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.009291, allocations: 8 kB / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.009303, allocations: 4 kB / 0.8962 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.009345, allocations: 23.67 kB / 0.8963 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009348, allocations: 0 / 0.8963 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.802e-05/0.009446, allocations: 69.39 kB / 0.8963 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.009463, allocations: 4 kB / 0.8963 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.009471, allocations: 4 kB / 0.8963 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.009486, allocations: 3.984 kB / 0.8963 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.009554, allocations: 4 kB / 0.8963 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.00956, allocations: 0 / 0.8963 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.0096, allocations: 15.89 kB / 0.8964 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.009604, allocations: 4 kB / 0.8964 GB, free: 2.789 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.955e-05/0.009704, allocations: 156.6 kB / 0.8965 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.009738, allocations: 35.73 kB / 0.8965 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.009855, allocations: 72.25 kB / 0.8966 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.009857, allocations: 0 / 0.8966 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.009859, allocations: 0 / 0.8966 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009862, allocations: 0 / 0.8966 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01, allocations: 173.1 kB / 0.8968 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01, allocations: 0 / 0.8968 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.01003, allocations: 7.938 kB / 0.8968 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01003, allocations: 11.94 kB / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.01003, allocations: 0 / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01003, allocations: 0 / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01004, allocations: 0 / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01014, allocations: 219.7 kB / 0.897 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.01017, allocations: 31.78 kB / 0.897 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01018, allocations: 8.359 kB / 0.897 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.01022, allocations: 4 kB / 0.8971 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.01025, allocations: 3.984 kB / 0.8971 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.01025, allocations: 7.938 kB / 0.8971 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001551/0.01041, allocations: 275 kB / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01041, allocations: 4 kB / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001516/0.01056, allocations: 20 kB / 0.8973 GB, free: 1.715 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.0006238/0.01118, allocations: 333.1 kB / 0.8977 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.98e-05/0.01124, allocations: 15.69 kB / 0.8977 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01125, allocations: 0 / 0.8977 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.01126, allocations: 15.77 kB / 0.8977 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01151, allocations: 66.73 kB / 0.8978 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.01192, allocations: 411.7 kB / 0.8982 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.01198, allocations: 96.28 kB / 0.8982 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.746e-05/0.01203, allocations: 25.94 kB / 0.8983 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.01213, allocations: 106.2 kB / 0.8984 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01213, allocations: 4 kB / 0.8984 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of Templates: time 0.005197/0.01733, allocations: 2.634 MB / 0.9009 GB, free: 14.12 MB / 0.8698 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.076056113932282]