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.001411/0.001411, allocations: 107.1 kB / 16.41 MB, free: 6.453 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.001379/0.001379, allocations: 192 kB / 17.34 MB, free: 5.715 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.543/1.543, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.948/2.948, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 67.88 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.271, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004566/1.276, allocations: 1.656 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001295/1.277, allocations: 0.5147 MB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/1.277, allocations: 8 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000811/1.278, allocations: 179.9 kB / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005079/1.279, allocations: 159.5 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/1.279, allocations: 195.1 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/1.28, allocations: 191.5 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/1.28, allocations: 41.53 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/1.28, allocations: 79.72 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/1.28, allocations: 151.5 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/1.28, allocations: 12 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/1.28, allocations: 51.91 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/1.28, allocations: 71.81 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/1.281, allocations: 95.28 kB / 1.171 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/1.281, allocations: 267.8 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.281, allocations: 0 / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.846e-06/1.281, allocations: 4 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.281, allocations: 4 kB / 1.171 GB, free: 328 kB / 0.8887 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.001122/1.282, allocations: 0.595 MB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/1.282, allocations: 12.92 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/1.282, allocations: 28.75 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/1.283, allocations: 378.6 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.283, allocations: 384 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/1.283, allocations: 8.375 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.283, allocations: 77.72 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.283, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.283, allocations: 8 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.283, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/1.284, allocations: 47.95 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/1.284, allocations: 432.5 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/1.285, allocations: 50.62 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.285, allocations: 24.83 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/1.285, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.285, allocations: 34.56 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.285, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000447/1.285, allocations: 125.5 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/1.285, allocations: 51.41 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/1.286, allocations: 0.521 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.286, allocations: 25.7 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.286, allocations: 160.1 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/1.286, allocations: 7.953 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/1.286, allocations: 17.72 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003476/1.287, allocations: 350.7 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/1.287, allocations: 15.98 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/1.287, allocations: 19.98 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/1.287, allocations: 45.03 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.287, allocations: 0 / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002447/1.287, allocations: 109.5 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.287, allocations: 4 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.287, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.287, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.287, allocations: 11.98 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.287, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/1.288, allocations: 11.92 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.288, allocations: 4 kB / 1.174 GB, free: 12.95 MB / 0.9044 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.0001979/1.288, allocations: 173.8 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/1.288, allocations: 31.81 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/1.288, allocations: 111.9 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.288, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.288, allocations: 4 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.288, allocations: 3.938 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/1.289, allocations: 265.5 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.289, allocations: 4 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/1.289, allocations: 11.98 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.289, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.289, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.289, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.289, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/1.289, allocations: 203.2 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.289, allocations: 109 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/1.289, allocations: 4 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.289, allocations: 3.984 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/1.289, allocations: 7.938 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/1.289, allocations: 3.938 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004785/1.29, allocations: 387.1 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.29, allocations: 0 / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002733/1.29, allocations: 23.95 kB / 1.175 GB, free: 11.54 MB / 0.9044 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.001502/1.292, allocations: 358.7 kB / 1.176 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000287/1.292, allocations: 47.95 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.292, allocations: 0 / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/1.292, allocations: 28 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/1.293, allocations: 45.05 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.294, allocations: 476.2 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/1.294, allocations: 0.771 MB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.295, allocations: 37.92 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/1.295, allocations: 23.44 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/1.295, allocations: 0 / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of Templates: time 0.008008/1.303, allocations: 2.274 MB / 1.179 GB, free: 7.582 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches