Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001625/0.001625, allocations: 111.7 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001543/0.001543, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.021/3.021, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.88 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9792, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002561/0.9817, allocations: 1.699 MB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.9827, allocations: 0.6626 MB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.9828, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.9832, allocations: 184 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.9837, allocations: 213.6 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.9841, allocations: 191.2 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.9843, allocations: 209.6 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.9844, allocations: 39.89 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.9845, allocations: 89.23 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.9846, allocations: 173 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.9847, allocations: 16.91 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.9848, allocations: 46.23 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.9848, allocations: 81.55 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.9849, allocations: 95.42 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.9852, allocations: 286.5 kB / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9852, allocations: 0 / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9852, allocations: 0 / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.9852, allocations: 0 / 1.326 GB, free: 22.73 MB / 1.061 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.0006581/0.9858, allocations: 0.6059 MB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.9859, allocations: 22.64 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.9859, allocations: 32.91 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.9864, allocations: 380.2 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.9864, allocations: 9.844 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.9864, allocations: 7.125 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.9866, allocations: 73.95 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.9866, allocations: 0.9062 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9866, allocations: 4 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9866, allocations: 1.719 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.9868, allocations: 53.33 kB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.9873, allocations: 431.6 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.9875, allocations: 43.39 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.9876, allocations: 34.45 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.9876, allocations: 1.25 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.9876, allocations: 35.31 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.9876, allocations: 0.875 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000433/0.988, allocations: 117.6 kB / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.9881, allocations: 56 kB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.9887, allocations: 0.5347 MB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.9887, allocations: 25.7 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.9888, allocations: 167.8 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.9888, allocations: 12.45 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.9888, allocations: 17.25 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.9889, allocations: 347.5 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.989, allocations: 20.88 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.9891, allocations: 25.78 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.9892, allocations: 40.92 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9892, allocations: 0 / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002362/0.9895, allocations: 100.4 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9895, allocations: 4.719 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9895, allocations: 0.75 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9895, allocations: 4.594 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.9896, allocations: 10.88 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.9896, allocations: 1 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.9897, allocations: 10.8 kB / 1.329 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9897, allocations: 4.781 kB / 1.329 GB, free: 20.42 MB / 1.061 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.0001247/0.9898, allocations: 177.3 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.9899, allocations: 32.61 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.9901, allocations: 116.6 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9901, allocations: 0 / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9902, allocations: 0.5938 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.9902, allocations: 4.562 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.9904, allocations: 269.5 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9904, allocations: 0 / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.9905, allocations: 11.11 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.9905, allocations: 0.5938 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.9905, allocations: 4.562 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9905, allocations: 4.719 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.9905, allocations: 4.531 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.9907, allocations: 195.4 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.9908, allocations: 114.5 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.9908, allocations: 0.6875 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.9909, allocations: 7.859 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.991, allocations: 7.344 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.991, allocations: 5.453 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005008/0.9915, allocations: 399.6 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9915, allocations: 0 / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002729/0.9918, allocations: 29.2 kB / 1.33 GB, free: 19.5 MB / 1.061 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.001231/0.993, allocations: 356.2 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.9932, allocations: 47.7 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.9932, allocations: 1.188 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.9933, allocations: 21.88 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.9938, allocations: 49.55 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.9945, allocations: 0.519 MB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9948, allocations: 0.7762 MB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.9948, allocations: 22.36 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.9948, allocations: 0 / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of Templates: time 0.007164/1.002, allocations: 3.362 MB / 1.335 GB, free: 17.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.287830654007848]