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.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001863/0.001863, allocations: 196 kB / 16.25 MB, free: 6.633 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.698/1.698, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 3.031/3.031, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 140.4 MB / 0.9491 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004785/1.049, allocations: 1.708 MB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001298/1.051, allocations: 0.5129 MB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/1.051, allocations: 5.281 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/1.052, allocations: 168.9 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007031/1.052, allocations: 152.2 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/1.053, allocations: 182.6 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/1.054, allocations: 199.6 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/1.054, allocations: 39.64 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/1.054, allocations: 78.08 kB / 0.952 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/1.054, allocations: 168.7 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/1.055, allocations: 12.5 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/1.055, allocations: 42.22 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/1.055, allocations: 71.53 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/1.055, allocations: 95.03 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005307/1.056, allocations: 268.9 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.056, allocations: 0 / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/1.056, allocations: 0 / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.03e-05/1.056, allocations: 0 / 0.9527 GB, free: 6.441 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.001204/1.057, allocations: 0.5918 MB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.057, allocations: 8.438 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.057, allocations: 29.84 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/1.058, allocations: 370.7 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.058, allocations: 1.469 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/1.058, allocations: 6.562 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/1.058, allocations: 79.38 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.058, allocations: 0 / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.058, allocations: 1 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.058, allocations: 5.125 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/1.058, allocations: 56.59 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/1.059, allocations: 424 kB / 0.9542 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/1.059, allocations: 49.88 kB / 0.9542 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/1.059, allocations: 24.92 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/1.059, allocations: 5.094 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.06, allocations: 35.88 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.06, allocations: 0 / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005183/1.06, allocations: 116.2 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.06, allocations: 51.41 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/1.061, allocations: 0.5121 MB / 0.9549 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1.061, allocations: 27.2 kB / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.061, allocations: 175.1 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/1.061, allocations: 3.906 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/1.061, allocations: 17.02 kB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/1.061, allocations: 352.2 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/1.061, allocations: 14.61 kB / 0.9555 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/1.061, allocations: 26.62 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.062, allocations: 45.64 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.062, allocations: 0 / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002864/1.062, allocations: 103.1 kB / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.062, allocations: 6.375 kB / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.062, allocations: 0 / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.062, allocations: 1.125 kB / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.062, allocations: 10.89 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.062, allocations: 1.188 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/1.062, allocations: 11.42 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.062, allocations: 1 kB / 0.9557 GB, free: 3.887 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.0001613/1.062, allocations: 174.3 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/1.062, allocations: 28.16 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/1.063, allocations: 118.7 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.063, allocations: 1.031 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.063, allocations: 4 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.063, allocations: 3.938 kB / 0.956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/1.063, allocations: 258.5 kB / 0.9563 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.063, allocations: 5 kB / 0.9563 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/1.063, allocations: 14.64 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.063, allocations: 1.156 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.063, allocations: 0 / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.063, allocations: 1.062 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.063, allocations: 0 / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/1.063, allocations: 201.2 kB / 0.9565 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/1.064, allocations: 114.4 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/1.064, allocations: 1.031 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.064, allocations: 7.422 kB / 0.9566 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/1.064, allocations: 6.281 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/1.064, allocations: 5.25 kB / 0.9566 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004792/1.064, allocations: 382.2 kB / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.064, allocations: 0 / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003006/1.065, allocations: 31.89 kB / 0.957 GB, free: 2.852 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.0009133/1.066, allocations: 345.6 kB / 0.9573 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002522/1.066, allocations: 48.98 kB / 0.9574 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.066, allocations: 4 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/1.066, allocations: 21.72 kB / 0.9574 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/1.066, allocations: 44.5 kB / 0.9575 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/1.067, allocations: 0.5199 MB / 0.958 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.068, allocations: 0.7757 MB / 0.9587 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.068, allocations: 37.05 kB / 0.9588 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/1.068, allocations: 23.12 kB / 0.9588 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/1.068, allocations: 1.625 kB / 0.9588 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.008611/1.077, allocations: 2.219 MB / 0.9609 GB, free: 416 kB / 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