Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001743/0.001743, allocations: 100.3 kB / 19.74 MB, free: 2.059 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.002067/0.002067, allocations: 216 kB / 23.04 MB, free: 4.848 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002015/0.002015, allocations: 76.72 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.402, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003658/0.4056, allocations: 1.67 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.407, allocations: 0.6392 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.4071, allocations: 7.938 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.4076, allocations: 190.4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.4082, allocations: 207.3 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.4087, allocations: 194.6 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.4091, allocations: 215.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4092, allocations: 29.67 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4094, allocations: 91.67 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.4096, allocations: 171.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.4097, allocations: 12 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.4098, allocations: 47.92 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.41, allocations: 83.73 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.4101, allocations: 71.41 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.4104, allocations: 278.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4104, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4104, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.4105, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 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.0009297/0.4114, allocations: 0.5392 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4114, allocations: 12.03 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.4115, allocations: 28.75 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.412, allocations: 316.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.412, allocations: 384 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.412, allocations: 4.375 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4122, allocations: 77.72 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4122, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4123, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4123, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.4125, allocations: 51.95 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.413, allocations: 368.2 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4132, allocations: 42.56 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.4133, allocations: 24.89 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.4133, allocations: 8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4133, allocations: 38.59 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4133, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003953/0.4137, allocations: 117.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4138, allocations: 51.41 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.4146, allocations: 0.5289 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4146, allocations: 25.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4147, allocations: 172 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.4148, allocations: 15.84 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4149, allocations: 17.72 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002647/0.4151, allocations: 350.7 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.4152, allocations: 15.98 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.4153, allocations: 20 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4155, allocations: 44.75 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4155, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002527/0.4157, allocations: 105.8 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4157, allocations: 4 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4157, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4158, allocations: 8.031 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.4158, allocations: 7.984 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4158, allocations: 4 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.4159, allocations: 7.984 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4159, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 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.0002056/0.4161, allocations: 179.3 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4162, allocations: 31.77 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.4165, allocations: 116.2 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4165, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4165, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4165, allocations: 4 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.4167, allocations: 197.2 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4167, allocations: 0 / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.4168, allocations: 11.98 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4168, allocations: 4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.4168, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4168, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4168, allocations: 3.984 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.4171, allocations: 203.2 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.4172, allocations: 43.8 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4172, allocations: 3.938 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4173, allocations: 11.98 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4174, allocations: 8 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4174, allocations: 4 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004686/0.4178, allocations: 399.1 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4178, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002599/0.4181, allocations: 31.83 kB / 1.335 GB, free: 8.625 MB / 1.029 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.001413/0.4195, allocations: 372.7 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.4198, allocations: 47.89 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4198, allocations: 3.938 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.4199, allocations: 19.98 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.4203, allocations: 50.75 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.4212, allocations: 0.5296 MB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.4214, allocations: 161.8 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.4215, allocations: 27.42 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4215, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of Templates: time 0.006362/0.4278, allocations: 3.436 MB / 1.34 GB, free: 4.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.879723235033453]