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.0009259/0.0009258, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001111/0.001111, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.387 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.819/2.819, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003886, allocations: 16 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8768, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002072/0.8789, allocations: 1.344 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.8797, allocations: 491.4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.8798, allocations: 4 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.8803, allocations: 167.2 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.8807, allocations: 148.3 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.8811, allocations: 171 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.8813, allocations: 167.5 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.8814, allocations: 25.53 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.8816, allocations: 67.73 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.8818, allocations: 147.6 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.8818, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.8819, allocations: 20 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.882, allocations: 75.73 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.882, allocations: 53.58 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.8823, allocations: 209.5 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.8823, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8823, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.8823, allocations: 0 / 1.025 GB, free: 12.96 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.0007519/0.883, allocations: 0.5603 MB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8831, allocations: 8.031 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.8832, allocations: 27.62 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.8836, allocations: 353.4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8836, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.8837, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.8839, allocations: 85.61 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8839, allocations: 3.938 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.8839, allocations: 7.938 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.8839, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.8841, allocations: 63.95 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.8846, allocations: 432.5 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.8848, allocations: 50.56 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.8849, allocations: 36.89 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.8849, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.885, allocations: 30.56 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.885, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003959/0.8854, allocations: 137.3 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.8854, allocations: 55.34 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.886, allocations: 0.5094 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.886, allocations: 25.7 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8861, allocations: 179.9 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.8861, allocations: 7.906 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.8861, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8863, allocations: 342.8 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.8864, allocations: 23.98 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.8864, allocations: 31.97 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.8865, allocations: 23.98 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8865, allocations: 0 / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.8867, allocations: 109.2 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8868, allocations: 9.719 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.8868, allocations: 0 / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8868, allocations: 336 / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.8869, allocations: 15.98 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8869, allocations: 4 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.887, allocations: 7.984 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.887, allocations: 4 kB / 1.028 GB, free: 9.637 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.8871, allocations: 173.8 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.8872, allocations: 31.61 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.8875, allocations: 120.1 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8875, allocations: 4 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8875, allocations: 0 / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8875, allocations: 3.938 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.8878, allocations: 261.5 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8878, allocations: 0 / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.8879, allocations: 15.98 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8879, allocations: 0 / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8879, allocations: 0 / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8879, allocations: 0 / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8879, allocations: 7.938 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.8882, allocations: 207.1 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.8883, allocations: 120.7 kB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.8883, allocations: 0 / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.8884, allocations: 15.94 kB / 1.029 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.8885, allocations: 3.984 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.8885, allocations: 0 / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004235/0.8889, allocations: 391.1 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.334e-06/0.889, allocations: 0 / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002679/0.8892, allocations: 27.88 kB / 1.03 GB, free: 8.176 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 (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.001005/0.8902, allocations: 350.6 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.8905, allocations: 55.97 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8905, allocations: 0 / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.8906, allocations: 27.97 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.8911, allocations: 40.77 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.8919, allocations: 0.508 MB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.8923, allocations: 0.7713 MB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.301e-05/0.8924, allocations: 45.91 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.8925, allocations: 19.44 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8925, allocations: 0 / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.005261/0.8978, allocations: 2.061 MB / 1.033 GB, free: 4.402 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/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