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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00161/0.00161, allocations: 189.3 kB / 16.14 MB, free: 6.645 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.558/1.558, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.915/2.915, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003965/1.028, allocations: 1.702 MB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001163/1.029, allocations: 0.5173 MB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/1.029, allocations: 5.375 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006891/1.03, allocations: 164.5 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/1.03, allocations: 152.5 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/1.03, allocations: 178.6 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/1.031, allocations: 191.1 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/1.031, allocations: 40.55 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/1.031, allocations: 72.61 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/1.031, allocations: 150.2 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/1.031, allocations: 9.781 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/1.031, allocations: 29.88 kB / 0.952 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/1.031, allocations: 76.97 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/1.032, allocations: 83.36 kB / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/1.032, allocations: 265.4 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.032, allocations: 0 / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/1.032, allocations: 0 / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.032, allocations: 1.5 kB / 0.9524 GB, free: 6.582 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.0008279/1.033, allocations: 0.5865 MB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.033, allocations: 13.16 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/1.033, allocations: 29.16 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/1.033, allocations: 369.9 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/1.033, allocations: 1.438 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/1.033, allocations: 11.94 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/1.034, allocations: 71.2 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.034, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.034, allocations: 5.375 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.034, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/1.034, allocations: 53.31 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/1.035, allocations: 428.2 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/1.035, allocations: 50.3 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.035, allocations: 23.75 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/1.035, allocations: 9.031 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.035, allocations: 31.78 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.035, allocations: 0 / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004637/1.035, allocations: 119.7 kB / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.036, allocations: 56.64 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/1.036, allocations: 0.5047 MB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/1.036, allocations: 33.7 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/1.036, allocations: 166.3 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/1.037, allocations: 11.89 kB / 0.9549 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/1.037, allocations: 13.94 kB / 0.9549 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.037, allocations: 344.1 kB / 0.9553 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/1.037, allocations: 18.45 kB / 0.9553 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/1.037, allocations: 19.25 kB / 0.9553 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/1.037, allocations: 50.31 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.037, allocations: 0 / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002586/1.037, allocations: 102.5 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.037, allocations: 5.062 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.037, allocations: 0 / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.037, allocations: 5.438 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.038, allocations: 15.3 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.038, allocations: 0 / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/1.038, allocations: 11.77 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.038, allocations: 0.9688 kB / 0.9555 GB, free: 4.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.038, allocations: 169 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/1.038, allocations: 26.22 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.038, allocations: 118.1 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/1.038, allocations: 0 / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.038, allocations: 1.562 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.038, allocations: 3.938 kB / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/1.038, allocations: 261.5 kB / 0.956 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.038, allocations: 5.422 kB / 0.956 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/1.039, allocations: 14.66 kB / 0.956 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.039, allocations: 1.219 kB / 0.956 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/1.039, allocations: 0 / 0.956 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.039, allocations: 1.5 kB / 0.9561 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.039, allocations: 3.984 kB / 0.9561 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/1.039, allocations: 200.9 kB / 0.9562 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/1.039, allocations: 110.7 kB / 0.9564 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/1.039, allocations: 3.984 kB / 0.9564 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/1.039, allocations: 3.75 kB / 0.9564 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.039, allocations: 5.797 kB / 0.9564 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.039, allocations: 9.719 kB / 0.9564 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004165/1.04, allocations: 390.6 kB / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/1.04, allocations: 0 / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002937/1.04, allocations: 22.84 kB / 0.9568 GB, free: 2.996 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 (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.001043/1.041, allocations: 354.4 kB / 0.9571 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002627/1.041, allocations: 40.44 kB / 0.9571 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.041, allocations: 1.156 kB / 0.9571 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.041, allocations: 29.47 kB / 0.9572 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/1.042, allocations: 35.77 kB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/1.043, allocations: 0.5206 MB / 0.9577 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.043, allocations: 0.7836 MB / 0.9585 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001384/1.043, allocations: 30.45 kB / 0.9585 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/1.043, allocations: 22.89 kB / 0.9585 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.043, allocations: 0 / 0.9585 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.006669/1.05, allocations: 2.154 MB / 0.9606 GB, free: 0.5859 MB / 0.7169 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