Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001532/0.001532, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.693/1.693, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.173/3.173, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.005827/1.157, allocations: 1.717 MB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001731/1.159, allocations: 0.5109 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/1.159, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009567/1.16, allocations: 169.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005905/1.161, allocations: 157.3 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/1.161, allocations: 172.9 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000445/1.162, allocations: 207.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/1.162, allocations: 37.53 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/1.162, allocations: 83.67 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/1.163, allocations: 155.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/1.163, allocations: 12 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/1.163, allocations: 43.98 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/1.163, allocations: 75.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/1.163, allocations: 99.22 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/1.164, allocations: 265 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.164, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.686e-06/1.164, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.164, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 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.001267/1.165, allocations: 0.5835 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.165, allocations: 8.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/1.165, allocations: 32.56 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/1.166, allocations: 374.3 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/1.166, allocations: 384 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/1.166, allocations: 16.36 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.166, allocations: 73.72 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.166, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/1.166, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.166, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/1.167, allocations: 51.89 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/1.168, allocations: 424.6 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/1.168, allocations: 54.64 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/1.168, allocations: 20.84 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/1.168, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.168, allocations: 30.56 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/1.168, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000594/1.169, allocations: 121.2 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.169, allocations: 51.41 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/1.17, allocations: 0.5055 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.17, allocations: 37.64 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.17, allocations: 171.9 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/1.17, allocations: 7.906 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/1.17, allocations: 13.72 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002745/1.171, allocations: 346.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.171, allocations: 19.97 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/1.171, allocations: 19.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.171, allocations: 44.81 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.171, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000365/1.172, allocations: 101.3 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.172, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.172, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.172, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.172, allocations: 15.92 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.172, allocations: 4 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/1.172, allocations: 7.938 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/1.172, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 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.0002496/1.172, allocations: 174.5 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/1.172, allocations: 27.62 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/1.173, allocations: 104.1 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.173, allocations: 4.375 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.173, allocations: 3.984 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.173, allocations: 11.88 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/1.173, allocations: 257.5 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.173, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.174, allocations: 23.91 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.174, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.174, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.174, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.174, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/1.174, allocations: 199.1 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.174, allocations: 112.8 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/1.174, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.175, allocations: 4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/1.175, allocations: 7.984 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.175, allocations: 7.875 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009834/1.176, allocations: 391.1 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/1.176, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004555/1.176, allocations: 23.91 kB / 1.025 GB, free: 10.24 MB / 0.7794 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.002152/1.178, allocations: 350.4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004244/1.179, allocations: 51.89 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.179, allocations: 0 / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/1.179, allocations: 19.98 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/1.18, allocations: 41.42 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/1.181, allocations: 0.5206 MB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/1.182, allocations: 0.771 MB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001691/1.183, allocations: 37.92 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/1.183, allocations: 27.38 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of SimCode: time 7.61e-07/1.183, allocations: 0 / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.01166/1.194, allocations: 2.216 MB / 1.029 GB, free: 6.312 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches