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.009252/0.009252, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.00244/0.00244, allocations: 194.6 kB / 16.67 MB, free: 5.484 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: 4.363 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 2.992/2.992, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 55.91 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5019, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.005561/0.5076, allocations: 1.653 MB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.5093, allocations: 0.5185 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.5096, allocations: 4 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.5105, allocations: 178 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.5111, allocations: 163.5 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.5117, allocations: 193.8 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.512, allocations: 199.6 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.5122, allocations: 49.39 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5123, allocations: 75.75 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.5126, allocations: 155.6 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.5126, allocations: 12 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.5127, allocations: 43.98 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.5129, allocations: 79.69 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.513, allocations: 91.3 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.5134, allocations: 262.8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5134, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5134, allocations: 7.938 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.5134, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 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.0009614/0.5144, allocations: 0.6067 MB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.5144, allocations: 8.031 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.5145, allocations: 32.75 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.515, allocations: 370.6 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.515, allocations: 4.375 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.5151, allocations: 8.375 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.5153, allocations: 81.72 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5153, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5153, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5154, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.5155, allocations: 51.95 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.5161, allocations: 428.6 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5163, allocations: 50.55 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.5164, allocations: 24.91 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.5164, allocations: 0 / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5165, allocations: 34.56 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.5165, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004142/0.5169, allocations: 125.5 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5169, allocations: 55.41 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.5175, allocations: 0.5055 MB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5176, allocations: 25.7 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5177, allocations: 168 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.5177, allocations: 11.94 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.5178, allocations: 17.72 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.518, allocations: 342.8 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.5181, allocations: 23.97 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.5182, allocations: 24 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.5184, allocations: 36.83 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5184, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002442/0.5186, allocations: 105.7 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.5186, allocations: 11.98 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5187, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5187, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.5188, allocations: 8.047 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5188, allocations: 3.938 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.5189, allocations: 15.91 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5189, allocations: 0 / 1.173 GB, free: 15.8 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.0001613/0.5191, allocations: 175.8 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.5191, allocations: 35.8 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.5194, allocations: 104 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5194, allocations: 0 / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5194, allocations: 4 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.5194, allocations: 3.938 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5197, allocations: 273.5 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5197, allocations: 4 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.5198, allocations: 8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5198, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5198, allocations: 3.984 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5198, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5198, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.5201, allocations: 203.2 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5202, allocations: 109 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5203, allocations: 0 / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.5204, allocations: 4 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.5204, allocations: 7.984 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.5204, allocations: 3.938 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003808/0.5208, allocations: 387.1 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5208, allocations: 0 / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000258/0.5211, allocations: 27.89 kB / 1.175 GB, free: 14.38 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.0008928/0.522, allocations: 354.4 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.5222, allocations: 43.95 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5223, allocations: 4 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.5224, allocations: 23.92 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.5229, allocations: 41.42 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.5237, allocations: 480.1 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.5241, allocations: 0.771 MB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.858e-05/0.5241, allocations: 37.94 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.5242, allocations: 27.42 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.5242, allocations: 0 / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.006006/0.5302, allocations: 2.275 MB / 1.178 GB, free: 10.43 MB / 0.9356 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/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