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.001287/0.001287, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001323/0.001323, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.88 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213/1.214, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003814/1.218, allocations: 1.651 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001175/1.219, allocations: 0.5147 MB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/1.22, allocations: 3.938 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006244/1.22, allocations: 175 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004989/1.221, allocations: 162.5 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/1.221, allocations: 203.2 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/1.222, allocations: 199.6 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.222, allocations: 33.53 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/1.222, allocations: 83.67 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/1.222, allocations: 159.5 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/1.222, allocations: 16 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/1.222, allocations: 39.98 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/1.223, allocations: 71.81 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/1.223, allocations: 99.22 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/1.223, allocations: 268.7 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.223, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/1.223, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.223, allocations: 0 / 1.212 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.001103/1.224, allocations: 0.5836 MB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.224, allocations: 11.97 kB / 1.213 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.224, allocations: 28.56 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/1.225, allocations: 378.3 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.225, allocations: 4.375 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/1.225, allocations: 384 / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/1.225, allocations: 77.78 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.225, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.225, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.225, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/1.226, allocations: 59.89 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/1.226, allocations: 420.6 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.226, allocations: 58.52 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.212e-05/1.227, allocations: 24.91 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/1.227, allocations: 3.984 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.227, allocations: 34.56 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.227, allocations: 0 / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/1.227, allocations: 117.3 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.227, allocations: 55.41 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/1.228, allocations: 0.5171 MB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/1.228, allocations: 25.7 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.228, allocations: 168 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/1.228, allocations: 11.81 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/1.228, allocations: 13.72 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.228, allocations: 350.7 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/1.228, allocations: 15.98 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/1.229, allocations: 19.98 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/1.229, allocations: 48.81 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.229, allocations: 0 / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002797/1.229, allocations: 97.31 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.229, allocations: 4 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.229, allocations: 4 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.229, allocations: 4 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/1.229, allocations: 11.98 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.229, allocations: 3.984 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/1.229, allocations: 11.84 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.229, allocations: 0 / 1.215 GB, free: 6.648 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.0001815/1.229, allocations: 169.8 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/1.23, allocations: 23.72 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/1.23, allocations: 124 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.23, allocations: 0 / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.23, allocations: 0 / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.23, allocations: 3.938 kB / 1.215 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.23, allocations: 261.5 kB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.23, allocations: 0 / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/1.23, allocations: 11.98 kB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.23, allocations: 0 / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.23, allocations: 4 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.23, allocations: 4 kB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.23, allocations: 0 / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/1.231, allocations: 187.2 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.231, allocations: 120.7 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/1.231, allocations: 0 / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/1.231, allocations: 7.984 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/1.231, allocations: 15.88 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/1.231, allocations: 11.88 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004427/1.231, allocations: 379.1 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 4 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002709/1.232, 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.0009218/1.233, allocations: 360.5 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002401/1.233, allocations: 39.95 kB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.233, allocations: 4 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/1.233, allocations: 19.98 kB / 1.217 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.0004899/1.234, allocations: 52.22 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/1.234, allocations: 0.4905 MB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/1.235, allocations: 0.7748 MB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/1.235, allocations: 23.44 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.235, allocations: 0 / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of Templates: time 0.007289/1.242, allocations: 3.196 MB / 1.221 GB, free: 348 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches