Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008513/0.008513, allocations: 96.61 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 201.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.875/2.875, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 69.62 kB / 0.9508 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.479, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003505/0.4825, allocations: 1.661 MB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.4836, allocations: 0.5083 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.4837, allocations: 3.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.4844, allocations: 174.4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.4848, allocations: 175.4 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.4853, allocations: 187.4 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.4856, allocations: 207.5 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.4858, allocations: 41.47 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.486, allocations: 87.66 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.4862, allocations: 155.6 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.4862, allocations: 12 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4864, allocations: 36 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.4865, allocations: 79.73 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.4866, allocations: 91.3 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.4871, allocations: 266.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.4871, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.687e-06/0.4871, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.4871, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 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.001094/0.4882, allocations: 0.5951 MB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/0.4883, allocations: 8.031 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.4884, allocations: 32.75 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.489, allocations: 374.6 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.489, allocations: 8.359 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4891, allocations: 384 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4893, allocations: 85.67 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4894, allocations: 0 / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.4894, allocations: 3.984 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4894, allocations: 0 / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.4896, allocations: 59.88 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.4904, allocations: 420.6 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.4906, allocations: 58.58 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4908, allocations: 24.91 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.4908, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.4909, allocations: 30.56 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4909, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000498/0.4914, allocations: 113.5 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4914, allocations: 59.33 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.492, allocations: 0.5094 MB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4921, allocations: 25.7 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4922, allocations: 172 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.4922, allocations: 7.938 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.4923, allocations: 17.72 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4925, allocations: 346.8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.4926, allocations: 15.98 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.4927, allocations: 23.97 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4928, allocations: 40.83 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4928, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002439/0.4931, allocations: 101.5 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4931, allocations: 8 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4931, allocations: 3.938 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4932, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4933, allocations: 11.98 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4933, allocations: 3.984 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.4934, allocations: 15.88 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4934, allocations: 4 kB / 1.095 GB, free: 10.52 MB / 0.8575 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.00016/0.4936, allocations: 169.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.4936, allocations: 27.81 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.4939, allocations: 112.1 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.494, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.494, allocations: 3.938 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.494, allocations: 3.938 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.4943, allocations: 261.5 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4943, allocations: 8.359 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.4943, allocations: 11.94 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4944, allocations: 4 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4944, allocations: 0 / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4944, allocations: 0 / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4944, allocations: 3.984 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4947, allocations: 203.2 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4948, allocations: 108.9 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4948, allocations: 3.984 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4949, allocations: 4 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.495, allocations: 4 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.495, allocations: 11.92 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003994/0.4954, allocations: 383.1 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4954, allocations: 0 / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002681/0.4957, allocations: 27.94 kB / 1.096 GB, free: 9.086 MB / 0.8575 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.0009053/0.4966, allocations: 350.5 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.4969, allocations: 39.97 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4969, allocations: 4 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.497, allocations: 27.91 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.4975, allocations: 46.14 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.4984, allocations: 468.3 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.499, allocations: 0.7788 MB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.4991, allocations: 41.92 kB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.4992, allocations: 19.44 kB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.4992, allocations: 0 / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of Templates: time 0.006394/0.5056, allocations: 2.277 MB / 1.1 GB, free: 5.145 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches