Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 249.3 MB / 261.9 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 188.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007816/0.0007818, allocations: 90.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.605e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6103/0.8099, allocations: 133.6 MB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.8101, allocations: 79.83 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.822, allocations: 4.702 MB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8221, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.8221, allocations: 4 kB / 1.027 GB, free: 13.03 MB / 0.6511 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.0005156/0.8226, allocations: 0.4889 MB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8227, allocations: 8.031 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.8228, allocations: 39.61 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.8233, allocations: 371.9 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.8234, allocations: 4 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.8234, allocations: 0 / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.8235, allocations: 66.8 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8235, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8235, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8235, allocations: 4 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.8236, allocations: 26.06 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.8242, allocations: 443.3 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.8243, allocations: 33.14 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.8243, allocations: 12.23 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.8243, allocations: 8.078 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.8244, allocations: 42.59 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8244, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001671/0.8246, allocations: 72.19 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.8246, allocations: 51.41 kB / 1.029 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.8251, allocations: 472.6 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.8252, allocations: 29.64 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.8253, allocations: 164.9 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.8253, allocations: 11.81 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.8253, allocations: 0 / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8254, allocations: 349.3 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.8255, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.8255, allocations: 7.25 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.8255, allocations: 7.5 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8255, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/0.8256, allocations: 76.28 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8257, allocations: 7.938 kB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8257, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.8257, allocations: 192 / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.8258, allocations: 19.98 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8258, allocations: 3.953 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.8259, allocations: 11.91 kB / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.8259, allocations: 7.969 kB / 1.03 GB, free: 10.34 MB / 0.6511 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.32e-05/0.826, allocations: 101 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.8261, allocations: 23.72 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.8262, allocations: 100.1 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8262, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8263, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8263, allocations: 3.953 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.8265, allocations: 273.9 kB / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8265, allocations: 0 / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.8266, allocations: 11.98 kB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8266, allocations: 4 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.8266, allocations: 0 / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8266, allocations: 0 / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8267, allocations: 4 kB / 1.03 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.8268, allocations: 175.8 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.827, allocations: 131.6 kB / 1.03 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.827, allocations: 4 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8271, allocations: 8 kB / 1.03 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.8272, allocations: 7.609 kB / 1.03 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.8272, allocations: 7.938 kB / 1.031 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003755/0.8276, allocations: 373 kB / 1.031 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8276, allocations: 0 / 1.031 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002494/0.8278, allocations: 31.22 kB / 1.031 GB, free: 9.16 MB / 0.6511 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.0006758/0.8285, allocations: 322 kB / 1.031 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.8286, allocations: 19.19 kB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8286, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.8286, allocations: 15.19 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.8289, allocations: 43.06 kB / 1.031 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.8295, allocations: 371.2 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.8298, allocations: 0.778 MB / 1.032 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.147e-05/0.8299, allocations: 45.98 kB / 1.032 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.83, allocations: 23.31 kB / 1.032 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of SimCode: time 6.52e-07/0.83, allocations: 3.938 kB / 1.032 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.005277/0.8353, allocations: 2.304 MB / 1.035 GB, free: 5.367 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_Table.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches