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.001448/0.001448, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001614/0.001614, allocations: 213.4 kB / 22.99 MB, free: 4.984 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.00204/0.00204, allocations: 72.45 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4151, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004026/0.4191, allocations: 1.675 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4204, allocations: 0.647 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.4205, allocations: 7.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.4211, allocations: 186.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.4216, allocations: 203.4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.422, allocations: 192.9 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.4223, allocations: 215.4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4224, allocations: 25.73 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.4226, allocations: 95.67 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.4228, allocations: 175.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.4229, allocations: 16 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.423, allocations: 36 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.4231, allocations: 95.66 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.4232, allocations: 67.42 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.4235, allocations: 278.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4235, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4235, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4236, allocations: 4 kB / 1.331 GB, free: 13.09 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.0008829/0.4244, allocations: 0.5392 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4245, allocations: 12.03 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.4246, allocations: 32.75 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.4251, allocations: 316.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4251, allocations: 4.359 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4251, allocations: 4.375 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4254, allocations: 73.73 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4254, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4254, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4254, allocations: 8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.4256, allocations: 55.94 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.4262, allocations: 364.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4263, allocations: 46.55 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4264, allocations: 20.91 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.4265, allocations: 3.938 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4265, allocations: 42.66 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4265, allocations: 3.938 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004085/0.4269, allocations: 121.4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.427, allocations: 51.41 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.4276, allocations: 0.5289 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4276, allocations: 25.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4278, allocations: 168.1 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.4278, allocations: 11.84 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4278, allocations: 25.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.428, allocations: 342.8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.4281, allocations: 19.98 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.4282, allocations: 23.98 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.4283, allocations: 40.77 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4283, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000247/0.4286, allocations: 105.5 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4286, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4286, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4286, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.4287, allocations: 15.92 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4287, allocations: 0 / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.4288, allocations: 7.984 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4288, allocations: 4 kB / 1.334 GB, free: 9.934 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.0001733/0.429, allocations: 173.8 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.429, allocations: 35.77 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.4293, allocations: 116.2 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4293, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4293, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4293, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4296, allocations: 201.2 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4296, allocations: 0 / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.4297, allocations: 11.98 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4297, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.4297, allocations: 4 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4297, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4297, allocations: 7.938 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.43, allocations: 207.2 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.4301, allocations: 39.81 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.4301, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4302, allocations: 7.984 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4303, allocations: 3.984 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4303, allocations: 8 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000434/0.4307, allocations: 399.1 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4307, allocations: 0 / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000265/0.431, allocations: 27.89 kB / 1.335 GB, free: 8.656 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.001624/0.4326, allocations: 377.9 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.4329, allocations: 47.89 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4329, allocations: 4 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.4329, allocations: 23.92 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.4334, allocations: 40.73 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.4343, allocations: 496.7 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4345, allocations: 173.8 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.4346, allocations: 37.92 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.4347, allocations: 19.44 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of SimCode: time 5.1e-07/0.4347, allocations: 4 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of Templates: time 0.006887/0.4415, allocations: 2.682 MB / 1.339 GB, free: 4.902 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 -s gbode -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: 9.519863057998009]