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.001549/0.001549, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001792/0.001792, allocations: 180.2 kB / 17.34 MB, free: 5.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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003919/1.18, allocations: 1.646 MB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001202/1.181, allocations: 0.5224 MB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/1.181, allocations: 8 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007162/1.182, allocations: 179.9 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005526/1.182, allocations: 165.7 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/1.183, allocations: 196.3 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004117/1.183, allocations: 203.5 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/1.184, allocations: 37.53 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/1.184, allocations: 79.73 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/1.184, allocations: 159.5 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/1.184, allocations: 12 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/1.184, allocations: 39.98 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.184, allocations: 71.81 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/1.185, allocations: 99.27 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000432/1.185, allocations: 272.6 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.185, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/1.185, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.185, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 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.001065/1.186, allocations: 0.5797 MB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.186, allocations: 12.92 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.186, allocations: 28.56 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/1.187, allocations: 378.2 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.187, allocations: 384 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.187, allocations: 8.375 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/1.187, allocations: 73.78 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.187, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.187, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/1.187, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/1.187, allocations: 51.89 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/1.188, allocations: 420.6 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/1.188, allocations: 54.58 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/1.188, allocations: 24.91 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/1.189, allocations: 4 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.189, allocations: 34.55 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.189, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004402/1.189, allocations: 113.4 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.189, allocations: 55.41 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/1.19, allocations: 0.5093 MB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.19, allocations: 25.7 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.19, allocations: 179.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.19, allocations: 11.81 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/1.19, allocations: 17.72 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.19, allocations: 346.7 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/1.19, allocations: 19.98 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/1.19, allocations: 19.98 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.19, allocations: 41.09 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.19, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002751/1.191, allocations: 105.4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.191, allocations: 6.656 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.191, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.191, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.191, allocations: 15.92 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.191, allocations: 0 / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/1.191, allocations: 11.84 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/1.191, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 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.0001689/1.191, allocations: 181.8 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.191, allocations: 23.72 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/1.192, allocations: 104.1 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.192, allocations: 4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.192, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.192, allocations: 7.938 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/1.192, allocations: 265.5 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.192, allocations: 4 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/1.192, allocations: 15.92 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.192, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.192, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.192, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.192, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/1.192, allocations: 191.2 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/1.192, allocations: 120.7 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/1.193, allocations: 0 / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/1.193, allocations: 7.984 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/1.193, allocations: 4 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/1.193, allocations: 3.938 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004379/1.193, allocations: 391 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.193, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002982/1.193, allocations: 20 kB / 1.175 GB, free: 11.45 MB / 0.9044 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.0009359/1.194, allocations: 351.4 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002545/1.195, allocations: 55.88 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.195, allocations: 4 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/1.195, allocations: 19.98 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/1.195, allocations: 44.5 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/1.196, allocations: 0.4908 MB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/1.197, allocations: 0.7787 MB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/1.197, allocations: 23.44 kB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.197, allocations: 0 / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of Templates: time 0.00678/1.204, allocations: 3.198 MB / 1.18 GB, free: 6.562 MB / 0.9044 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches