Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.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.002507/0.002507, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002885/0.002885, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.8109 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.457e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001602/0.001627, allocations: 0.601 MB / 0.8114 GB, free: 368 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.001867, allocations: 61.81 kB / 0.8115 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.001887, allocations: 7.938 kB / 0.8115 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.001902, allocations: 3.938 kB / 0.8115 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.001909, allocations: 0 / 0.8115 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.002143, allocations: 16.7 kB / 0.8115 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.002192, allocations: 15.97 kB / 0.8115 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.002229, allocations: 4.781 kB / 0.8116 GB, free: 260 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.002259, allocations: 4 kB / 0.8116 GB, free: 256 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.002305, allocations: 5.234 kB / 0.8116 GB, free: 252 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.002317, allocations: 4 kB / 0.8116 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.002385, allocations: 11.92 kB / 0.8116 GB, free: 236 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.002404, allocations: 12.7 kB / 0.8116 GB, free: 224 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.002422, allocations: 3.938 kB / 0.8116 GB, free: 220 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.002508, allocations: 20.88 kB / 0.8116 GB, free: 200 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00251, allocations: 0 / 0.8116 GB, free: 200 kB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002511, allocations: 0 / 0.8116 GB, free: 200 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002514, allocations: 0.6562 kB / 0.8116 GB, free: 200 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004453/0.002959, allocations: 361.4 kB / 0.812 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.002992, allocations: 8.031 kB / 0.812 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.003045, allocations: 8.938 kB / 0.812 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.003139, allocations: 109.2 kB / 0.8121 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003151, allocations: 0.9375 kB / 0.8121 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.003163, allocations: 4.375 kB / 0.8121 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.003313, allocations: 85.88 kB / 0.8122 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003321, allocations: 192 / 0.8122 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.003332, allocations: 4.375 kB / 0.8122 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.00334, allocations: 10.61 kB / 0.8122 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.00338, allocations: 11.88 kB / 0.8122 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.003636, allocations: 147.5 kB / 0.8123 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.003808, allocations: 139.4 kB / 0.8125 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.003872, allocations: 50.56 kB / 0.8125 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.004012, allocations: 8.703 kB / 0.8125 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.004053, allocations: 41.33 kB / 0.8126 GB, free: 15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.004054, allocations: 0.5312 kB / 0.8126 GB, free: 15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0002104/0.004265, allocations: 72.5 kB / 0.8126 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.004375, allocations: 166.1 kB / 0.8128 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.004454, allocations: 142.2 kB / 0.8129 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.004474, allocations: 33.64 kB / 0.813 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.004537, allocations: 128.1 kB / 0.8131 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.004576, allocations: 15.92 kB / 0.8131 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.004618, allocations: 23.38 kB / 0.8131 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.00486, allocations: 0.4897 MB / 0.8136 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.00488, allocations: 4 kB / 0.8136 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.004946, allocations: 46.44 kB / 0.8136 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.005047, allocations: 67.92 kB / 0.8137 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005049, allocations: 0.875 kB / 0.8137 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001222/0.005171, allocations: 66.38 kB / 0.8138 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005183, allocations: 4.531 kB / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005187, allocations: 5.375 kB / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.0052, allocations: 0 / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.005275, allocations: 11.98 kB / 0.8138 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.005285, allocations: 4 kB / 0.8138 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.005317, allocations: 9.125 kB / 0.8138 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.005326, allocations: 4 kB / 0.8138 GB, free: 13.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001125/0.005439, allocations: 164.5 kB / 0.814 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.005453, allocations: 0.6562 kB / 0.814 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.005669, allocations: 111.1 kB / 0.8141 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005672, allocations: 0 / 0.8141 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.005677, allocations: 5.312 kB / 0.8141 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.005684, allocations: 3.984 kB / 0.8141 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.005822, allocations: 124.6 kB / 0.8142 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005824, allocations: 0.5 kB / 0.8142 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.005899, allocations: 19.98 kB / 0.8142 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005901, allocations: 0.7188 kB / 0.8142 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.005912, allocations: 5.719 kB / 0.8142 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005914, allocations: 0 / 0.8142 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.005917, allocations: 3.938 kB / 0.8142 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.006115, allocations: 155 kB / 0.8144 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.006132, allocations: 16.75 kB / 0.8144 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.006148, allocations: 8 kB / 0.8144 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.006177, allocations: 0 / 0.8144 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.006205, allocations: 15.39 kB / 0.8144 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.006216, allocations: 8 kB / 0.8144 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.006276, allocations: 123.1 kB / 0.8145 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006276, allocations: 0 / 0.8145 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002/0.006476, allocations: 8 kB / 0.8145 GB, free: 12.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001462/0.006622, allocations: 101.4 kB / 0.8146 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006748, allocations: 48.11 kB / 0.8147 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.00675, allocations: 1.844 kB / 0.8147 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.006809, allocations: 35.61 kB / 0.8147 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.006957, allocations: 5.406 kB / 0.8147 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.007275, allocations: 174.1 kB / 0.8149 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.007339, allocations: 64 kB / 0.815 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.007377, allocations: 14 kB / 0.815 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.007407, allocations: 19.75 kB / 0.815 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.007407, allocations: 0 / 0.815 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.003251/0.01066, allocations: 0.5555 MB / 0.8155 GB, free: 11.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.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: 8.051600479055196]