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.001596/0.001595, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 196.8 kB / 16.53 MB, free: 6.668 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.223/3.223, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.002331, allocations: 75.86 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9138, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004501/0.9184, allocations: 1.656 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.9195, allocations: 0.5146 MB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.9196, allocations: 4 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.9203, allocations: 172.5 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.9208, allocations: 161.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.9212, allocations: 188.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.9216, allocations: 199.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.9218, allocations: 53.52 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.9219, allocations: 75.69 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.9222, allocations: 167.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.9222, allocations: 12 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.9224, allocations: 43.92 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.9225, allocations: 75.75 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.9227, allocations: 91.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.9231, allocations: 261 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9231, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9231, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.9231, allocations: 0 / 1.021 GB, free: 14.84 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.00108/0.9242, allocations: 0.5952 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9242, allocations: 8.031 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.9243, allocations: 28.56 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.9249, allocations: 366.4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.925, allocations: 4.375 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.925, allocations: 4.375 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.9252, allocations: 77.72 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.9253, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.9253, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.9253, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.9255, allocations: 47.95 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.9263, allocations: 428.5 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.9265, allocations: 54.55 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.9266, allocations: 24.91 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.9266, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.9267, allocations: 38.59 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.9267, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000488/0.9272, allocations: 121.2 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.9272, allocations: 55.41 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.928, allocations: 0.5016 MB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.928, allocations: 29.7 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.9282, allocations: 168 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.9282, allocations: 15.83 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.9282, allocations: 13.72 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.9285, allocations: 346.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.9286, allocations: 23.97 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.9287, allocations: 15.98 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.9288, allocations: 44.77 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9288, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002655/0.9291, allocations: 105.2 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.9292, allocations: 11.98 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9292, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.9292, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.9293, allocations: 8.328 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9293, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.9294, allocations: 11.92 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.9294, allocations: 0 / 1.024 GB, free: 11.5 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.0002073/0.9296, allocations: 169.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.9297, allocations: 35.55 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.93, allocations: 116 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9301, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9301, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9301, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.9304, allocations: 261.5 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9304, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.9305, allocations: 12 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9305, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.9305, allocations: 3.984 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9305, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9305, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.9309, allocations: 199 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.931, allocations: 112.8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.931, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.9311, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.9312, allocations: 7.984 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.9312, allocations: 3.938 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004661/0.9317, allocations: 387.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.414e-06/0.9317, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002657/0.932, allocations: 31.84 kB / 1.025 GB, free: 10.06 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.001383/0.9334, allocations: 345.1 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.9337, allocations: 47.89 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9337, allocations: 4 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.9338, allocations: 23.98 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.9343, allocations: 35.38 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.9352, allocations: 479.6 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.9358, allocations: 0.7711 MB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.67e-05/0.9359, allocations: 37.92 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.936, allocations: 27.42 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.936, allocations: 4 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.007558/0.9435, allocations: 2.272 MB / 1.029 GB, free: 6.125 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