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.001433/0.001433, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001536/0.001536, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.476/1.476, allocations: 222.9 MB / 241.1 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.575/2.575, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003086/1.133, allocations: 1.66 MB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009294/1.134, allocations: 0.5177 MB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/1.134, allocations: 5.969 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/1.135, allocations: 176.6 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004421/1.135, allocations: 159.2 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/1.136, allocations: 202.1 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/1.136, allocations: 204.6 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.136, allocations: 28.41 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/1.136, allocations: 85.02 kB / 1.092 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/1.137, allocations: 155.8 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/1.137, allocations: 11.62 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/1.137, allocations: 43.41 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/1.137, allocations: 76.73 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/1.137, allocations: 101.9 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/1.137, allocations: 267.2 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.137, allocations: 1 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/1.137, allocations: 0 / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.137, allocations: 0 / 1.092 GB, free: 3.41 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.0007875/1.138, allocations: 0.5773 MB / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.138, allocations: 14.42 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/1.138, allocations: 29.53 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/1.139, allocations: 376 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.139, allocations: 1.781 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.139, allocations: 6.938 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/1.139, allocations: 71.06 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.139, allocations: 0 / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.139, allocations: 4.75 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.139, allocations: 5.547 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/1.139, allocations: 53.64 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/1.14, allocations: 416.4 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/1.14, allocations: 52.77 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/1.14, allocations: 29.34 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/1.14, allocations: 1.5 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/1.14, allocations: 32.05 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.14, allocations: 0 / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000426/1.141, allocations: 125.7 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/1.141, allocations: 56.12 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/1.142, allocations: 0.5094 MB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/1.142, allocations: 25.7 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.142, allocations: 171.9 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/1.142, allocations: 10.23 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/1.142, allocations: 13.09 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/1.142, allocations: 346.8 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/1.142, allocations: 23.3 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/1.142, allocations: 20.11 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.142, allocations: 40.81 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.142, allocations: 0 / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002465/1.142, allocations: 102.3 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.143, allocations: 5.688 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.143, allocations: 4 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.143, allocations: 5.562 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/1.143, allocations: 14.16 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.143, allocations: 1.703 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/1.143, allocations: 9.562 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.143, allocations: 1.406 kB / 1.095 GB, free: 1.156 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.0001534/1.143, allocations: 170.2 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/1.143, allocations: 31.94 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/1.143, allocations: 109.2 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.143, allocations: 4.531 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.143, allocations: 0.6562 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.143, allocations: 5.188 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/1.144, allocations: 261.9 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.144, allocations: 1.719 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/1.144, allocations: 10.14 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.144, allocations: 0.875 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/1.144, allocations: 5.125 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.144, allocations: 0.7969 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.144, allocations: 0 / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/1.144, allocations: 194.5 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/1.144, allocations: 117.5 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/1.144, allocations: 0.7969 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.144, allocations: 10.19 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/1.144, allocations: 3.391 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.144, allocations: 4.656 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004904/1.145, allocations: 391.1 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.145, allocations: 0 / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002819/1.145, allocations: 19.8 kB / 1.096 GB, free: 272 kB / 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.0008625/1.146, allocations: 365.1 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002692/1.146, allocations: 43.41 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.146, allocations: 0.6562 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.146, allocations: 23.56 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/1.147, allocations: 47.39 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/1.148, allocations: 0.4987 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/1.148, allocations: 0.7713 MB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/1.148, allocations: 21.72 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.148, allocations: 4 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of Templates: time 0.007198/1.156, allocations: 3.204 MB / 1.101 GB, free: 14.64 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