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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 188.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 91.84 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.264e-05/1.278e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2755, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8971/1.173, allocations: 151 MB / 1.353 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.173, allocations: 81.48 kB / 1.354 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01236/1.185, allocations: 4.784 MB / 1.358 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.185, allocations: 3.938 kB / 1.358 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.633e-05/1.185, allocations: 3.875 kB / 1.358 GB, free: 33.61 MB / 0.8386 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.0005717/1.186, allocations: 0.4899 MB / 1.359 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.186, allocations: 7.688 kB / 1.359 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/1.186, allocations: 34.06 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.187, allocations: 378 kB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.187, allocations: 3.984 kB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.187, allocations: 3.875 kB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.6e-05/1.187, allocations: 30.08 kB / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/1.187, allocations: 57.39 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.187, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.187, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.187, allocations: 4 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/1.187, allocations: 407.1 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/1.188, allocations: 35.08 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/1.188, allocations: 11.98 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.188, allocations: 9.516 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/1.188, allocations: 30.56 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.188, allocations: 0 / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/1.188, allocations: 78.94 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/1.188, allocations: 51.41 kB / 1.36 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/1.188, allocations: 453 kB / 1.36 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.188, allocations: 25.7 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/1.188, allocations: 173 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/1.189, allocations: 7.75 kB / 1.36 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.189, allocations: 0 / 1.36 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.189, allocations: 342.1 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/1.189, allocations: 3.875 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/1.189, allocations: 11.12 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/1.189, allocations: 9.406 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.189, allocations: 0 / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.79e-05/1.189, allocations: 71.55 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.189, allocations: 3.875 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.189, allocations: 4 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.189, allocations: 3.938 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/1.189, allocations: 18.19 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.189, allocations: 0 / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/1.189, allocations: 11.11 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.189, allocations: 7.891 kB / 1.361 GB, free: 31.84 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/1.189, allocations: 108.7 kB / 1.361 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/1.189, allocations: 31.28 kB / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/1.189, allocations: 79.39 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.189, allocations: 3.969 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.189, allocations: 5.547 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/1.189, allocations: 0 / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/1.19, allocations: 250.1 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.19, allocations: 0 / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/1.19, allocations: 19.41 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.19, allocations: 4 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.19, allocations: 0 / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.19, allocations: 0 / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.19, allocations: 0 / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.19, allocations: 177.6 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/1.19, allocations: 133 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/1.19, allocations: 3.875 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.19, allocations: 11.17 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/1.19, allocations: 5.625 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/1.19, allocations: 0 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003259/1.191, allocations: 355.6 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.191, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002595/1.191, allocations: 32.44 kB / 1.362 GB, free: 31.15 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006231/1.191, allocations: 298.6 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.173e-05/1.192, allocations: 19.92 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.192, allocations: 0 / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/1.192, allocations: 9.656 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.192, allocations: 43.17 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/1.192, allocations: 368.4 kB / 1.363 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.193, allocations: 0.7793 MB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.864e-05/1.193, allocations: 44.05 kB / 1.364 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/1.193, allocations: 24.19 kB / 1.364 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.193, allocations: 0 / 1.364 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.004744/1.198, allocations: 2.01 MB / 1.366 GB, free: 29.92 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches