Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001545/0.001545, 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.001886/0.001886, allocations: 193 kB / 16.14 MB, free: 6.691 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.93/2.93, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.81 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4211, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003706/0.4249, allocations: 1.72 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.426, allocations: 0.5108 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.4261, allocations: 7.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.4268, allocations: 170.4 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.4271, allocations: 145.3 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.4276, allocations: 178 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4279, allocations: 195.5 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.428, allocations: 41.44 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.4281, allocations: 71.69 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.4283, allocations: 143.6 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.4284, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.4285, allocations: 39.97 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4286, allocations: 75.75 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4287, allocations: 95.28 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.429, allocations: 255.3 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.429, allocations: 0 / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4291, allocations: 0 / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4291, allocations: 0 / 1.056 GB, free: 5.234 MB / 0.8106 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.0008841/0.43, allocations: 0.5798 MB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.43, allocations: 8.031 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.4301, allocations: 32.56 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.4306, allocations: 378.2 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.4306, allocations: 4.375 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4306, allocations: 8.359 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4309, allocations: 73.78 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4309, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4309, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4309, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.4311, allocations: 55.94 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.4317, allocations: 432.5 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4319, allocations: 50.66 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.432, allocations: 28.83 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.432, allocations: 4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4321, allocations: 30.56 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4321, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004172/0.4325, allocations: 113.3 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.4326, allocations: 51.41 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.4332, allocations: 0.521 MB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4332, allocations: 25.7 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4333, allocations: 168 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4334, allocations: 3.906 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.4334, allocations: 21.7 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4336, allocations: 350.7 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.4337, allocations: 11.98 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.4337, allocations: 27.97 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4339, allocations: 40.83 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4339, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002318/0.4341, allocations: 101.3 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4342, allocations: 5.094 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4342, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4342, allocations: 4 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4343, allocations: 11.98 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4343, allocations: 3.938 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.4344, allocations: 15.86 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4344, allocations: 4 kB / 1.059 GB, free: 1.887 MB / 0.8106 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.0001569/0.4346, allocations: 171.1 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.4346, allocations: 27.62 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.4349, allocations: 112.1 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.435, allocations: 384 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.435, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.435, allocations: 3.938 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.4353, allocations: 257.5 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4353, allocations: 0 / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.4353, allocations: 15.97 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4354, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.4354, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4354, allocations: 3.938 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4354, allocations: 4 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.4357, allocations: 203.1 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.4358, allocations: 100.8 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4358, allocations: 0 / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.4359, allocations: 11.92 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.436, allocations: 15.94 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.436, allocations: 3.938 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004211/0.4364, allocations: 383.1 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4364, allocations: 0 / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002818/0.4367, allocations: 31.89 kB / 1.06 GB, free: 472 kB / 0.8106 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.0009251/0.4376, allocations: 340.4 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4379, allocations: 47.89 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4379, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.438, allocations: 23.97 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.4385, allocations: 41.55 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.4394, allocations: 0.5219 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.4398, allocations: 0.7752 MB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000114/0.4399, allocations: 41.92 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.44, allocations: 23.42 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.44, allocations: 0 / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of Templates: time 0.005692/0.4457, allocations: 2.158 MB / 1.064 GB, free: 12.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches