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.009368/0.009368, allocations: 108.6 kB / 15.74 MB, free: 6.016 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.001696/0.001697, allocations: 193.5 kB / 16.67 MB, free: 5.941 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 68.12 kB / 1.054 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.299, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00366/1.303, allocations: 1.665 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001103/1.304, allocations: 0.5146 MB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/1.304, allocations: 4 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/1.305, allocations: 183.1 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004219/1.305, allocations: 166.6 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/1.306, allocations: 185.7 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/1.306, allocations: 211.5 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/1.306, allocations: 29.55 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/1.306, allocations: 83.72 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/1.306, allocations: 155.5 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/1.306, allocations: 12 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/1.307, allocations: 48 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/1.307, allocations: 79.73 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/1.307, allocations: 95.28 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/1.307, allocations: 264.7 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.307, allocations: 3.938 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/1.307, allocations: 0 / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.307, allocations: 0 / 1.211 GB, free: 9.996 MB / 0.9356 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.0007634/1.308, allocations: 0.5759 MB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.308, allocations: 12.03 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/1.308, allocations: 32.56 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/1.308, allocations: 378.2 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/1.308, allocations: 384 / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/1.308, allocations: 8.375 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.309, allocations: 69.78 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.309, allocations: 0 / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.309, allocations: 4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.309, allocations: 4 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/1.309, allocations: 59.88 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/1.309, allocations: 424.5 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/1.31, allocations: 54.64 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/1.31, allocations: 24.78 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/1.31, allocations: 8 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/1.31, allocations: 30.56 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/1.31, allocations: 0 / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003931/1.31, allocations: 113.4 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.31, allocations: 51.41 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/1.311, allocations: 0.521 MB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.311, allocations: 25.7 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.311, allocations: 160 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/1.311, allocations: 15.75 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/1.311, allocations: 17.7 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.311, allocations: 346.8 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/1.311, allocations: 15.98 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/1.311, allocations: 27.97 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.311, allocations: 36.83 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.311, allocations: 0 / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002211/1.312, allocations: 97.38 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.312, allocations: 4 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.312, allocations: 0 / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.312, allocations: 0 / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/1.312, allocations: 19.92 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.312, allocations: 0 / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/1.312, allocations: 15.83 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/1.312, allocations: 4 kB / 1.214 GB, free: 6.656 MB / 0.9356 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.0001595/1.312, allocations: 165.8 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/1.312, allocations: 27.72 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/1.312, allocations: 108.4 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.312, allocations: 4.031 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.312, allocations: 4 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.312, allocations: 3.938 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/1.313, allocations: 269.4 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.313, allocations: 0 / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/1.313, allocations: 11.98 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.313, allocations: 7.875 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/1.313, allocations: 4 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.313, allocations: 3.984 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.313, allocations: 0 / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/1.313, allocations: 199.2 kB / 1.215 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.313, allocations: 112.7 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/1.313, allocations: 4 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/1.313, allocations: 3.984 kB / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/1.313, allocations: 4 kB / 1.215 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/1.313, allocations: 11.88 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003625/1.314, allocations: 391.1 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.314, allocations: 0 / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002371/1.314, allocations: 20 kB / 1.216 GB, free: 5.223 MB / 0.9356 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.0008296/1.315, allocations: 346 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002316/1.315, allocations: 51.89 kB / 1.216 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/1.315, allocations: 0 / 1.216 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/1.315, allocations: 23.97 kB / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/1.316, allocations: 37.53 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/1.316, allocations: 472.7 kB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.317, allocations: 0.7709 MB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.314e-05/1.317, allocations: 29.94 kB / 1.217 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/1.317, allocations: 31.38 kB / 1.217 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.317, allocations: 4 kB / 1.217 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.005784/1.323, allocations: 2.337 MB / 1.22 GB, free: 1.223 MB / 0.9356 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