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.001697/0.001697, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002337/0.002337, allocations: 191.3 kB / 16.14 MB, free: 6.629 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.622/1.622, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.119/3.119, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 59.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004067/1.061, allocations: 1.721 MB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001309/1.062, allocations: 0.5148 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/1.062, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/1.063, allocations: 169.4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004817/1.063, allocations: 149 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/1.064, allocations: 179.5 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/1.064, allocations: 187.5 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/1.064, allocations: 33.47 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/1.065, allocations: 79.67 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/1.065, allocations: 143.6 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/1.065, allocations: 12 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/1.065, allocations: 35.98 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/1.065, allocations: 71.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/1.065, allocations: 95.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/1.066, allocations: 261 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.066, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/1.066, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.066, allocations: 0 / 1.02 GB, free: 15.16 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.00116/1.067, allocations: 0.5797 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.067, allocations: 12.03 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/1.067, allocations: 28.56 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/1.068, allocations: 378.2 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.068, allocations: 4.375 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.068, allocations: 384 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/1.068, allocations: 77.78 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.068, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/1.068, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/1.068, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/1.068, allocations: 59.89 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/1.069, allocations: 424.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/1.069, allocations: 58.58 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/1.07, allocations: 24.91 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/1.07, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.07, allocations: 34.55 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.07, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000483/1.07, allocations: 121.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.07, allocations: 55.34 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/1.071, allocations: 0.5055 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.071, allocations: 25.7 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/1.071, allocations: 179.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/1.071, allocations: 3.906 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/1.071, allocations: 17.72 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.072, allocations: 346.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/1.072, allocations: 23.98 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/1.072, allocations: 11.98 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/1.072, allocations: 48.81 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.072, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002542/1.072, allocations: 97.28 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.072, allocations: 8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.072, allocations: 7.938 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.072, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.072, allocations: 11.98 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.072, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/1.072, allocations: 7.938 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/1.072, allocations: 0 / 1.023 GB, free: 11.83 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.0002068/1.073, allocations: 169.8 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/1.073, allocations: 31.95 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/1.073, allocations: 120 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.073, allocations: 0 / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.073, allocations: 0 / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.073, allocations: 3.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/1.074, allocations: 257.5 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.074, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/1.074, allocations: 15.92 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.074, allocations: 4 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/1.074, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.074, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.074, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/1.074, allocations: 195.1 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.074, allocations: 116.8 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/1.074, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.074, allocations: 11.98 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/1.074, allocations: 0 / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.074, allocations: 7.938 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004523/1.075, allocations: 391 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 0 / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000267/1.075, allocations: 19.91 kB / 1.024 GB, free: 10.4 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.001425/1.077, allocations: 356.6 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00025/1.077, allocations: 43.95 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.077, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.077, allocations: 27.98 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/1.077, allocations: 47.7 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/1.078, allocations: 0.5219 MB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/1.079, allocations: 0.7713 MB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.079, allocations: 42.05 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/1.079, allocations: 19.44 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/1.079, allocations: 0 / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.006369/1.085, allocations: 2.146 MB / 1.028 GB, free: 6.531 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches