Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001548/0.001548, allocations: 111 kB / 15.99 MB, free: 6.344 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.001523/0.001523, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.487/1.487, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 62.48 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.35, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003506/0.3536, allocations: 1.717 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3546, allocations: 0.511 MB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.3547, allocations: 3.938 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.3553, allocations: 162.8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.3557, allocations: 156.6 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.3561, allocations: 179.2 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3564, allocations: 207.5 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3565, allocations: 37.55 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3567, allocations: 83.67 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3569, allocations: 155.6 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.3569, allocations: 12 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.357, allocations: 40 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3571, allocations: 79.73 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.3572, allocations: 99.22 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3575, allocations: 215.9 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3575, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3575, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.3576, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 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.0008744/0.3584, allocations: 0.5797 MB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3585, allocations: 8.031 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.3586, allocations: 32.56 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.3591, allocations: 374.2 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.3591, allocations: 4.375 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3591, allocations: 4.375 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3593, allocations: 77.78 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3594, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3594, allocations: 7.938 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3594, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.3596, allocations: 55.88 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3602, allocations: 428.5 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3604, allocations: 50.59 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.3605, allocations: 28.89 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3605, allocations: 0 / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3605, allocations: 38.56 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3605, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004091/0.361, allocations: 109.4 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.361, allocations: 55.41 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.3617, allocations: 0.5094 MB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3617, allocations: 25.7 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3618, allocations: 172 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3619, allocations: 7.906 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3619, allocations: 17.7 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3621, allocations: 342.8 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/0.3622, allocations: 23.92 kB / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.3623, allocations: 23.97 kB / 1.071 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3624, allocations: 40.83 kB / 1.071 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3625, allocations: 0 / 1.071 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002502/0.3627, allocations: 97.28 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3627, allocations: 10.34 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3627, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3628, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.3629, allocations: 15.92 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3629, allocations: 4 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.363, allocations: 15.86 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.363, allocations: 0 / 1.071 GB, free: 8.152 MB / 0.8419 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.0001624/0.3631, allocations: 165.8 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.3632, allocations: 35.62 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.3635, allocations: 104.4 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3635, allocations: 48 / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.3635, allocations: 11.98 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3635, allocations: 3.938 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3638, allocations: 265.5 kB / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3639, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.3639, allocations: 15.92 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3639, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3639, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.364, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.364, allocations: 3.938 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3643, allocations: 203.1 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3644, allocations: 108.7 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3644, allocations: 0 / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.3645, allocations: 7.984 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3646, allocations: 4 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3646, allocations: 3.938 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004356/0.365, allocations: 391.1 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.365, allocations: 0 / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002563/0.3653, allocations: 23.98 kB / 1.072 GB, free: 6.73 MB / 0.8419 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.001277/0.3666, allocations: 348.9 kB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3668, allocations: 47.89 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3668, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.3669, allocations: 23.97 kB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.3674, allocations: 37.83 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.3683, allocations: 0.5612 MB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.3687, allocations: 0.771 MB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.3688, allocations: 23.44 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3688, allocations: 3.938 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.005855/0.3747, allocations: 3.182 MB / 1.077 GB, free: 1.801 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches