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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001578/0.001577, allocations: 168.7 kB / 15.95 MB, free: 204 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.681/2.681, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 11.98 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8022, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00225/0.8045, allocations: 1.338 MB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.8055, allocations: 497.8 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.8056, allocations: 9.156 kB / 0.9562 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.8061, allocations: 154.4 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.8065, allocations: 144.2 kB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.8069, allocations: 155.7 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.8071, allocations: 171.4 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.8073, allocations: 32.41 kB / 0.9568 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.8074, allocations: 71.8 kB / 0.9569 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.8076, allocations: 137.6 kB / 0.957 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.8076, allocations: 5.062 kB / 0.957 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.8077, allocations: 32.47 kB / 0.9571 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.8078, allocations: 67.05 kB / 0.9571 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.8078, allocations: 59.56 kB / 0.9572 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.808, allocations: 211.8 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8081, allocations: 0 / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8081, allocations: 0 / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.8081, allocations: 0 / 0.9574 GB, free: 5.547 MB / 0.7169 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.0006456/0.8087, allocations: 0.5551 MB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8088, allocations: 16.91 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.8088, allocations: 32.14 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.8093, allocations: 361.3 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.8093, allocations: 5.312 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.8093, allocations: 6.75 kB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.8095, allocations: 71.78 kB / 0.9584 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8095, allocations: 0 / 0.9584 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8095, allocations: 5.375 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8095, allocations: 0 / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.8097, allocations: 66.41 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.8102, allocations: 424.5 kB / 0.9589 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.8104, allocations: 55.3 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.8105, allocations: 35.98 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.8105, allocations: 9.328 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.8105, allocations: 31.94 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.8106, allocations: 0 / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.8109, allocations: 138.3 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.811, allocations: 52.81 kB / 0.9592 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.8115, allocations: 0.5084 MB / 0.9597 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.8116, allocations: 26.73 kB / 0.9597 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.8117, allocations: 169.4 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.8117, allocations: 8.844 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.8117, allocations: 1 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.8118, allocations: 340.4 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.8119, allocations: 26.8 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.812, allocations: 27.53 kB / 0.9603 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.812, allocations: 28.48 kB / 0.9603 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8121, allocations: 0 / 0.9603 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/0.8123, allocations: 108 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8123, allocations: 9.328 kB / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8123, allocations: 1.375 kB / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8123, allocations: 0 / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.8124, allocations: 17.61 kB / 0.9604 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8124, allocations: 1.375 kB / 0.9604 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.8125, allocations: 9.484 kB / 0.9604 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.8125, allocations: 5.312 kB / 0.9604 GB, free: 3.051 MB / 0.7169 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.0001396/0.8127, allocations: 166.2 kB / 0.9606 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.8127, allocations: 32.66 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.813, allocations: 131.3 kB / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.813, allocations: 1 kB / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.813, allocations: 1.094 kB / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.813, allocations: 48 / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.8133, allocations: 262.1 kB / 0.961 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8133, allocations: 4 kB / 0.961 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.8134, allocations: 18.8 kB / 0.961 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8134, allocations: 0 / 0.961 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8134, allocations: 1.188 kB / 0.961 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8134, allocations: 3.953 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8134, allocations: 0 / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.8137, allocations: 216.3 kB / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.8137, allocations: 110.4 kB / 0.9613 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.8138, allocations: 4.688 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.8139, allocations: 6 kB / 0.9614 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.8139, allocations: 10.28 kB / 0.9614 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8139, allocations: 4.719 kB / 0.9614 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004416/0.8144, allocations: 388.1 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8144, allocations: 0 / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002749/0.8147, allocations: 26.78 kB / 0.9618 GB, free: 2.008 MB / 0.7169 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.0008818/0.8156, allocations: 351.9 kB / 0.9621 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.8158, allocations: 53.92 kB / 0.9622 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8158, allocations: 1.219 kB / 0.9622 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.8159, allocations: 33.31 kB / 0.9622 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.8163, allocations: 37.34 kB / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.8171, allocations: 0.5031 MB / 0.9627 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.8174, allocations: 0.7737 MB / 0.9635 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.8175, allocations: 36.55 kB / 0.9635 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.8175, allocations: 23.22 kB / 0.9635 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8175, allocations: 0 / 0.9635 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.005895/0.8234, allocations: 2.075 MB / 0.9656 GB, free: 15.64 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches