Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00265/0.00265, allocations: 216 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.073/3.073, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003845/0.003845, allocations: 68.5 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4148, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004388/0.4192, allocations: 1.675 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.4208, allocations: 0.6293 MB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.421, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.4217, allocations: 190 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.4225, allocations: 214.6 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.4231, allocations: 198 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.4235, allocations: 219.4 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.4237, allocations: 29.72 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.4239, allocations: 87.62 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.4242, allocations: 175.5 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.4243, allocations: 12 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.4244, allocations: 43.98 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.4246, allocations: 83.69 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.4247, allocations: 71.47 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.4252, allocations: 294.6 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4252, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4252, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.4252, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 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.0014/0.4266, allocations: 0.5276 MB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.4266, allocations: 8.031 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4268, allocations: 28.75 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.4275, allocations: 328.7 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4275, allocations: 384 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4275, allocations: 8.375 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.4278, allocations: 77.78 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4278, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4278, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4278, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.428, allocations: 59.88 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.4288, allocations: 356.3 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.429, allocations: 54.66 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.4291, allocations: 20.83 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.4292, allocations: 8 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.4292, allocations: 30.56 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4292, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005161/0.4298, allocations: 113.5 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.4298, allocations: 59.34 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.4307, allocations: 0.5289 MB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.4307, allocations: 25.7 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4309, allocations: 172 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.4309, allocations: 11.84 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.431, allocations: 17.72 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002639/0.4312, allocations: 350.7 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.4313, allocations: 15.98 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.4314, allocations: 32.08 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4316, allocations: 40.83 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4316, allocations: 4 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/0.4319, allocations: 97.47 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.4319, allocations: 4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4319, allocations: 3.938 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.432, allocations: 4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4321, allocations: 7.984 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4321, allocations: 8 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.4322, allocations: 7.984 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4322, allocations: 0 / 1.29 GB, free: 4.91 MB / 0.9825 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.0002104/0.4324, allocations: 173.8 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.4325, allocations: 35.75 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.4328, allocations: 112.2 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4328, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.4328, allocations: 4 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4329, allocations: 4 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.4332, allocations: 201.2 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4332, allocations: 0 / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.4332, allocations: 15.92 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.4332, allocations: 4 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4332, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4333, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4333, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.4336, allocations: 199.2 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.4337, allocations: 39.81 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.4337, allocations: 0 / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4338, allocations: 7.984 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.4339, allocations: 8 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4339, allocations: 0 / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000522/0.4344, allocations: 399.1 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4344, allocations: 4 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002819/0.4347, allocations: 23.94 kB / 1.291 GB, free: 3.645 MB / 0.9825 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.001564/0.4362, allocations: 387.4 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.4365, allocations: 47.89 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4365, allocations: 0 / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.4366, allocations: 23.98 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.4371, allocations: 49.69 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.4381, allocations: 496.6 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4383, allocations: 169.8 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00011/0.4384, allocations: 41.92 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.4385, allocations: 27.42 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/0.4385, allocations: 0 / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of Templates: time 0.007796/0.4463, allocations: 2.652 MB / 1.295 GB, free: 15.9 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.068282386288047]