Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00194/0.00194, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002183/0.002183, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 4.754 MB / 186.7 MB " [Timeout remaining time 178] 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 2.902/2.902, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.475e-05, allocations: 9.562 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00336/0.003394, allocations: 1.701 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004787, allocations: 0.6326 MB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.004878, allocations: 7.938 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.005355, allocations: 140.5 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.005844, allocations: 200.3 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.006308, allocations: 192.8 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.006649, allocations: 232.3 kB / 0.7894 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.006774, allocations: 21.73 kB / 0.7894 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.006963, allocations: 112.4 kB / 0.7895 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.007226, allocations: 161.3 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.007274, allocations: 16 kB / 0.7897 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.007384, allocations: 39.98 kB / 0.7897 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.007512, allocations: 83.7 kB / 0.7898 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.007622, allocations: 55.77 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.008041, allocations: 268.6 kB / 0.7901 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.008046, allocations: 0 / 0.7901 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.008047, allocations: 0 / 0.7901 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.008054, allocations: 0 / 0.7901 GB, free: 9.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00108/0.009133, allocations: 0.6501 MB / 0.7907 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.009175, allocations: 8.031 kB / 0.7907 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.009268, allocations: 36.7 kB / 0.7908 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.009789, allocations: 278.9 kB / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.00981, allocations: 8.375 kB / 0.791 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.009821, allocations: 384 / 0.791 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.009999, allocations: 66.11 kB / 0.7911 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.01001, allocations: 4.125 kB / 0.7911 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.01008, allocations: 8.125 kB / 0.7911 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.01009, allocations: 0.7188 kB / 0.7911 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.01023, allocations: 32.55 kB / 0.7911 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.01091, allocations: 452.6 kB / 0.7916 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.01107, allocations: 51.05 kB / 0.7916 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.01115, allocations: 24.27 kB / 0.7916 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.01118, allocations: 1.25 kB / 0.7916 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.01122, allocations: 41.42 kB / 0.7917 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.01122, allocations: 0 / 0.7917 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003584/0.01157, allocations: 102.6 kB / 0.7918 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.01163, allocations: 55.41 kB / 0.7918 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.01228, allocations: 0.4997 MB / 0.7923 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01231, allocations: 25.7 kB / 0.7923 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.01255, allocations: 246.8 kB / 0.7926 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.01258, allocations: 16.8 kB / 0.7926 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.01262, allocations: 15.38 kB / 0.7926 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004661/0.01309, allocations: 0.5441 MB / 0.7931 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.01315, allocations: 11.98 kB / 0.7932 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.01321, allocations: 21.27 kB / 0.7932 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01333, allocations: 43.61 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01333, allocations: 0 / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000216/0.01355, allocations: 92.31 kB / 0.7933 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01356, allocations: 4 kB / 0.7933 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01357, allocations: 0 / 0.7933 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01358, allocations: 4 kB / 0.7933 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.01366, allocations: 4.328 kB / 0.7933 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01367, allocations: 0 / 0.7933 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.01373, allocations: 11.98 kB / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01374, allocations: 1.5 kB / 0.7933 GB, free: 5.508 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 (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 0.0001499/0.01389, allocations: 172.5 kB / 0.7935 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.01395, allocations: 27.81 kB / 0.7935 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.01421, allocations: 100.9 kB / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01421, allocations: 0.5625 kB / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01421, allocations: 0 / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01421, allocations: 4.5 kB / 0.7936 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.01459, allocations: 273.2 kB / 0.7939 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01459, allocations: 4 kB / 0.7939 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.01464, allocations: 9.219 kB / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01464, allocations: 0 / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01465, allocations: 0 / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01465, allocations: 0.8438 kB / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01465, allocations: 0 / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.01496, allocations: 249.3 kB / 0.7941 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.01505, allocations: 35.8 kB / 0.7942 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01508, allocations: 4 kB / 0.7942 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.01516, allocations: 0 / 0.7942 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01521, allocations: 8.609 kB / 0.7942 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.01521, allocations: 0 / 0.7942 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000404/0.01562, allocations: 327.8 kB / 0.7945 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01562, allocations: 0 / 0.7945 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002642/0.01588, allocations: 32.7 kB / 0.7945 GB, free: 4.219 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 (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.002461/0.01834, allocations: 366.6 kB / 0.7949 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.01855, allocations: 47.59 kB / 0.7949 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01855, allocations: 4 kB / 0.7949 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.01862, allocations: 24.8 kB / 0.7949 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.01903, allocations: 56.42 kB / 0.795 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.01983, allocations: 424.8 kB / 0.7954 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.02003, allocations: 167.8 kB / 0.7956 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.02012, allocations: 29.72 kB / 0.7956 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.02018, allocations: 20.5 kB / 0.7956 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.02018, allocations: 0 / 0.7956 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.007182/0.02736, allocations: 2.48 MB / 0.798 GB, free: 0.7617 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.284829196054488]