Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001703/0.001703, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002213/0.002213, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.631/3.631, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002405/0.002405, allocations: 71.94 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5058, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003519/0.5093, allocations: 1.729 MB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.5106, allocations: 0.6632 MB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.5107, allocations: 7.938 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.5113, allocations: 181.3 kB / 1.357 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.5118, allocations: 207.3 kB / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.5123, allocations: 201.1 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.5126, allocations: 215.4 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.5127, allocations: 25.73 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.5129, allocations: 95.59 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.5131, allocations: 167.6 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.5132, allocations: 20 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.5133, allocations: 39.97 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.5134, allocations: 87.69 kB / 1.358 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.5135, allocations: 103.2 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.5139, allocations: 274.7 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5139, allocations: 4 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5139, allocations: 0 / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5139, allocations: 0 / 1.358 GB, free: 4.016 MB / 1.045 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.000884/0.5148, allocations: 0.5276 MB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5148, allocations: 19.97 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.5149, allocations: 32.7 kB / 1.359 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.5154, allocations: 316.8 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5154, allocations: 4.375 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5154, allocations: 8.359 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.5157, allocations: 77.72 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5157, allocations: 0 / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5157, allocations: 3.938 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5157, allocations: 4 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.5159, allocations: 55.89 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.5165, allocations: 399.7 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.5167, allocations: 54.58 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.5168, allocations: 24.91 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5168, allocations: 4 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5168, allocations: 30.56 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5168, allocations: 0 / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004017/0.5172, allocations: 125.3 kB / 1.36 GB, free: 2.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.5173, allocations: 51.41 kB / 1.36 GB, free: 2.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.5179, allocations: 0.5328 MB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5179, allocations: 25.7 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5181, allocations: 168.1 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.5181, allocations: 15.88 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.5182, allocations: 13.72 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5184, allocations: 342.8 kB / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.5184, allocations: 23.97 kB / 1.361 GB, free: 1.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.5185, allocations: 24 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.5187, allocations: 40.83 kB / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5187, allocations: 0 / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002416/0.5189, allocations: 105.4 kB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5189, allocations: 4 kB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5189, allocations: 0 / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.519, allocations: 4 kB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.519, allocations: 8 kB / 1.361 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5191, allocations: 3.984 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.5191, allocations: 11.94 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5191, allocations: 4 kB / 1.361 GB, free: 0.8047 MB / 1.045 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.0001731/0.5193, allocations: 173.7 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.5194, allocations: 31.77 kB / 1.361 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.5197, allocations: 116.2 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5197, allocations: 384 / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5197, allocations: 3.984 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5197, allocations: 3.938 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.52, allocations: 248.5 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.52, allocations: 0 / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.5201, allocations: 15.97 kB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5201, allocations: 0 / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5201, allocations: 4 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5201, allocations: 4 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5201, allocations: 0 / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.5204, allocations: 203.5 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.5205, allocations: 39.81 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.5205, allocations: 0 / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.5206, allocations: 7.984 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.5207, allocations: 4 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.5207, allocations: 11.69 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004699/0.5211, allocations: 403.1 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5211, allocations: 0 / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002629/0.5214, allocations: 27.89 kB / 1.362 GB, free: 15.46 MB / 1.061 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.001355/0.5228, allocations: 348.7 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.523, allocations: 47.95 kB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.523, allocations: 0 / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.5231, allocations: 19.98 kB / 1.363 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.5236, allocations: 46.62 kB / 1.363 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.5245, allocations: 0.5256 MB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.525, allocations: 0.7791 MB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.5251, allocations: 27.42 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.5251, allocations: 0 / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of Templates: time 0.006614/0.5317, allocations: 3.349 MB / 1.367 GB, free: 10.39 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.713601479976205]