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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001623/0.001623, allocations: 104.2 kB / 16.27 MB, free: 5.969 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.001772/0.001772, allocations: 192.8 kB / 17.2 MB, free: 5.594 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.481/1.481, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437.1 MB / 0.711 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 68.2 kB / 0.8699 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004726/0.3651, allocations: 1.653 MB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3667, allocations: 0.5123 MB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3669, allocations: 3.938 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.3679, allocations: 180.9 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005669/0.3684, allocations: 160.9 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.3691, allocations: 197 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.3694, allocations: 203.5 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3696, allocations: 45.39 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3698, allocations: 83.67 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.37, allocations: 155.6 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.3701, allocations: 12 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3702, allocations: 36 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3704, allocations: 83.73 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3705, allocations: 95.28 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.3709, allocations: 263.3 kB / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3709, allocations: 0 / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.295e-06/0.371, allocations: 4 kB / 1.022 GB, free: 7.055 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.371, allocations: 0 / 1.022 GB, free: 7.055 MB / 0.795 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.0009198/0.3719, allocations: 0.5797 MB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3719, allocations: 8.922 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.372, allocations: 28.56 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.3725, allocations: 374.2 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3726, allocations: 384 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3726, allocations: 4.375 kB / 1.023 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.3728, allocations: 81.78 kB / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3728, allocations: 0 / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3729, allocations: 0 / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3729, allocations: 0 / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3731, allocations: 59.92 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.3738, allocations: 428.6 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.374, allocations: 50.59 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3741, allocations: 32.89 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3741, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3741, allocations: 38.5 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3742, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004192/0.3746, allocations: 113.3 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3746, allocations: 55.41 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.3753, allocations: 0.5094 MB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3753, allocations: 25.7 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3755, allocations: 168 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3755, allocations: 7.906 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3756, allocations: 25.64 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3758, allocations: 342.8 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.3759, allocations: 23.92 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.3759, allocations: 15.97 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3761, allocations: 48.83 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3761, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002484/0.3764, allocations: 97.28 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3764, allocations: 4 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3764, allocations: 4 kB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3764, allocations: 0 / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.3765, allocations: 15.92 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3766, allocations: 0 / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.3766, allocations: 19.86 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3767, allocations: 0 / 1.025 GB, free: 3.711 MB / 0.795 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.0001735/0.3768, allocations: 165.8 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.3769, allocations: 27.62 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.3772, allocations: 112.1 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3772, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3772, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3773, allocations: 7.938 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3776, allocations: 261.5 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3776, allocations: 4 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.3777, allocations: 11.98 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3777, allocations: 0 / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3777, allocations: 7.938 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3777, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3777, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3781, allocations: 211.4 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3782, allocations: 104.8 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3782, allocations: 4 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3783, allocations: 7.984 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.3784, allocations: 0 / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3784, allocations: 7.938 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000453/0.3789, allocations: 387.1 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3789, allocations: 0 / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002598/0.3791, allocations: 31.89 kB / 1.026 GB, free: 2.285 MB / 0.795 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.001307/0.3804, allocations: 338.2 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3807, allocations: 51.89 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3807, allocations: 0 / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3809, allocations: 27.97 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3813, allocations: 47.47 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.3823, allocations: 0.5065 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3828, allocations: 0.771 MB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.3829, allocations: 23.42 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.3829, allocations: 4 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of Templates: time 0.006381/0.3893, allocations: 3.171 MB / 1.031 GB, free: 13.43 MB / 0.8106 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=400 -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