Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001793/0.001793, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.002027/0.002027, allocations: 187 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 59.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002959/1.137, allocations: 1.657 MB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/1.138, allocations: 0.5108 MB / 1.091 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/1.138, allocations: 5.312 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/1.139, allocations: 176.7 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004372/1.139, allocations: 173.5 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/1.14, allocations: 185.1 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000304/1.14, allocations: 207.4 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/1.14, allocations: 33.8 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/1.14, allocations: 80.53 kB / 1.092 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/1.141, allocations: 159.6 kB / 1.092 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/1.141, allocations: 16.03 kB / 1.092 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/1.141, allocations: 39.45 kB / 1.092 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/1.141, allocations: 80.7 kB / 1.092 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/1.141, allocations: 93.52 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/1.141, allocations: 271.7 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.141, allocations: 0.7969 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.141, allocations: 4.719 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.141, allocations: 0 / 1.092 GB, free: 3.664 MB / 0.8575 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.0007568/1.142, allocations: 0.5731 MB / 1.093 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.142, allocations: 10.11 kB / 1.093 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/1.142, allocations: 34.28 kB / 1.093 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/1.143, allocations: 378.9 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/1.143, allocations: 2.125 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.143, allocations: 2.906 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/1.143, allocations: 79.03 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.143, allocations: 0 / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.143, allocations: 4.672 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.143, allocations: 1.188 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/1.143, allocations: 54.06 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.144, allocations: 420.9 kB / 1.094 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/1.144, allocations: 56.27 kB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/1.144, allocations: 25.62 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/1.144, allocations: 1.344 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/1.144, allocations: 32.14 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/1.144, allocations: 1 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004176/1.145, allocations: 116.9 kB / 1.094 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/1.145, allocations: 51.41 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/1.145, allocations: 0.5099 MB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.145, allocations: 26.48 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.145, allocations: 172.1 kB / 1.095 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.145, allocations: 9.609 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/1.145, allocations: 21.98 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/1.146, allocations: 349.4 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/1.146, allocations: 15.64 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/1.146, allocations: 19.56 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/1.146, allocations: 44.94 kB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.146, allocations: 3.938 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002402/1.146, allocations: 102.9 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.146, allocations: 5.531 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.146, allocations: 0.75 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.146, allocations: 0.875 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/1.146, allocations: 14.75 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.146, allocations: 3.938 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/1.146, allocations: 10.69 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/1.146, allocations: 4.969 kB / 1.095 GB, free: 1.406 MB / 0.8575 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.0001506/1.147, allocations: 167.7 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/1.147, allocations: 28.95 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/1.147, allocations: 108.6 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.147, allocations: 1.031 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.147, allocations: 0 / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.147, allocations: 5.438 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/1.147, allocations: 267.4 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.147, allocations: 0 / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/1.147, allocations: 10.55 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.147, allocations: 0.75 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.147, allocations: 1.641 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.147, allocations: 4.938 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.147, allocations: 0 / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/1.148, allocations: 205.9 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/1.148, allocations: 113.8 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/1.148, allocations: 0.7188 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.148, allocations: 6.078 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.148, allocations: 7.094 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.148, allocations: 4.875 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005059/1.149, allocations: 382.7 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.149, allocations: 0.6562 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000278/1.149, allocations: 24.47 kB / 1.096 GB, free: 0.5156 MB / 0.8575 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.0008302/1.15, allocations: 358.4 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002467/1.15, allocations: 51.98 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.15, allocations: 0 / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/1.15, allocations: 20.39 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/1.151, allocations: 41.28 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/1.151, allocations: 0.4954 MB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.152, allocations: 0.7726 MB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/1.152, allocations: 24.5 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.152, allocations: 0 / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.007519/1.159, allocations: 3.202 MB / 1.101 GB, free: 14.9 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches