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.001987/0.001987, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.001872/0.001872, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 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.002127/0.002127, allocations: 70.12 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5125, allocations: 176.1 MB / 1.321 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003655/0.5162, allocations: 1.711 MB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.5176, allocations: 0.6587 MB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.5177, allocations: 3.938 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.5184, allocations: 177.1 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.5189, allocations: 205.4 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.5194, allocations: 190.9 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.5197, allocations: 215.4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.5199, allocations: 29.61 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.5201, allocations: 91.59 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.5204, allocations: 175.6 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.5204, allocations: 12 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.5206, allocations: 47.97 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5207, allocations: 87.62 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.5208, allocations: 95.28 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.5213, allocations: 282.7 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5213, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5213, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5213, allocations: 0 / 1.325 GB, free: 14.92 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.001121/0.5224, allocations: 0.6106 MB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.5225, allocations: 19.91 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.5226, allocations: 28.75 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.5232, allocations: 390.5 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.5232, allocations: 384 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.5232, allocations: 4.375 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.5235, allocations: 73.73 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5235, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5235, allocations: 8 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5235, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.5237, allocations: 59.92 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.5245, allocations: 428.5 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.5247, allocations: 54.55 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.5248, allocations: 24.91 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.5248, allocations: 0 / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5248, allocations: 34.55 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5248, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000472/0.5253, allocations: 121.5 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5254, allocations: 55.41 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.5261, allocations: 0.5328 MB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5261, allocations: 25.7 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.5263, allocations: 164.1 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.5263, allocations: 11.89 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.5263, allocations: 17.72 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5265, allocations: 346.8 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/0.5266, allocations: 23.97 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.5267, allocations: 15.98 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.5269, allocations: 44.81 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5269, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002546/0.5271, allocations: 105.4 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5272, allocations: 8 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5272, allocations: 0 / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5272, allocations: 0 / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.5273, allocations: 11.98 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5273, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.5274, allocations: 11.88 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5274, allocations: 4 kB / 1.328 GB, free: 11.5 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.0001812/0.5276, allocations: 177.7 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.5276, allocations: 31.77 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.5279, allocations: 120.1 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5279, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5279, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.528, allocations: 3.938 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.5283, allocations: 265.5 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5283, allocations: 0 / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.5284, allocations: 11.98 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5284, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5284, allocations: 8 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5284, allocations: 0 / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5284, allocations: 4 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.5287, allocations: 211.6 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.5288, allocations: 108.9 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.5289, allocations: 3.984 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.529, allocations: 12 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.529, allocations: 0 / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.529, allocations: 11.92 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005046/0.5295, allocations: 395.1 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5295, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002961/0.5298, allocations: 23.95 kB / 1.33 GB, free: 10.04 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.001537/0.5314, allocations: 369.2 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.5317, allocations: 39.95 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5317, allocations: 0 / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5318, allocations: 27.92 kB / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.5323, allocations: 44.52 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.5333, allocations: 492.5 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.5338, allocations: 0.7792 MB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.5339, allocations: 41.92 kB / 1.331 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.534, allocations: 19.44 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.132e-06/0.534, allocations: 0 / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of Templates: time 0.007557/0.5415, allocations: 2.377 MB / 1.334 GB, free: 5.949 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins/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: 10.194745072163641]