Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000897/0.0008974, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.556/1.556, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.957/2.957, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 15.98 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7888, allocations: 153.8 MB / 1.024 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002363/0.7912, allocations: 1.363 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.7925, allocations: 0.5032 MB / 1.026 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.7926, allocations: 3.938 kB / 1.026 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.7932, allocations: 169.9 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.7936, allocations: 152.3 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.7941, allocations: 172.8 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.7944, allocations: 187.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.7945, allocations: 33.55 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.7947, allocations: 75.61 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.7949, allocations: 139.6 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.795, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.7951, allocations: 35.98 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.7952, allocations: 75.73 kB / 1.027 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.7954, allocations: 113 kB / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.7957, allocations: 209.6 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7957, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7957, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7957, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.7794 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.0008628/0.7966, allocations: 0.5527 MB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7967, allocations: 8.031 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.7967, allocations: 28.56 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.7973, allocations: 370.3 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7973, allocations: 16.31 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.7973, allocations: 384 / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.7975, allocations: 85.72 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7976, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7976, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7976, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.7978, allocations: 67.94 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.7985, allocations: 424.5 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.7986, allocations: 54.66 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.7988, allocations: 36.83 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.7988, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7988, allocations: 38.56 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7988, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004361/0.7993, allocations: 133.3 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.7993, allocations: 51.41 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.8, allocations: 0.5171 MB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.8, allocations: 25.7 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8001, allocations: 160 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.8001, allocations: 15.81 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.8002, allocations: 9.719 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8003, allocations: 346.7 kB / 1.03 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.8004, allocations: 31.92 kB / 1.03 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.8005, allocations: 19.98 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.8007, allocations: 60.81 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8008, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002563/0.801, allocations: 105.4 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.801, allocations: 4 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8011, allocations: 7.938 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8011, allocations: 0 / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.8012, allocations: 15.98 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8012, allocations: 3.938 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.8013, allocations: 19.83 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.8013, allocations: 4 kB / 1.03 GB, free: 9.387 MB / 0.7794 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.0001412/0.8014, allocations: 165.8 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.8015, allocations: 27.72 kB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.8018, allocations: 124 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8018, allocations: 0 / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.8018, allocations: 0 / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8018, allocations: 3.938 kB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.8021, allocations: 269.5 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8021, allocations: 0 / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.8022, allocations: 11.98 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8022, allocations: 3.938 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.8022, allocations: 4 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.8022, allocations: 7.938 kB / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8022, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.8025, allocations: 203.2 kB / 1.031 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.8026, allocations: 120.6 kB / 1.031 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.8027, allocations: 4 kB / 1.031 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8028, allocations: 4 kB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.8028, allocations: 11.98 kB / 1.031 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.8029, allocations: 7.938 kB / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004102/0.8033, allocations: 383.1 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8033, allocations: 0 / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002684/0.8035, allocations: 24 kB / 1.031 GB, free: 7.934 MB / 0.7794 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.00089/0.8044, allocations: 357.2 kB / 1.032 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8047, allocations: 55.89 kB / 1.032 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8047, allocations: 4 kB / 1.032 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.8048, allocations: 23.98 kB / 1.032 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.8052, allocations: 45.53 kB / 1.032 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.8061, allocations: 0.5639 MB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.8065, allocations: 0.7674 MB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.8066, allocations: 27.42 kB / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8066, allocations: 0 / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of Templates: time 0.005864/0.8125, allocations: 3.132 MB / 1.036 GB, free: 3.047 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches