Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 191.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.89/2.89, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7724, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00178/0.7741, allocations: 0.5976 MB / 1.275 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.7744, allocations: 71.7 kB / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.7744, allocations: 0 / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.7745, allocations: 0 / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-06/0.7745, allocations: 0 / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.7747, allocations: 23.91 kB / 1.275 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.7748, allocations: 8 kB / 1.275 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.7748, allocations: 0 / 1.275 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.7748, allocations: 7.984 kB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.7749, allocations: 15.92 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.7749, allocations: 0 / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.775, allocations: 19.98 kB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.775, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.775, allocations: 4 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.7751, allocations: 23.89 kB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.7751, allocations: 4 kB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7751, allocations: 0 / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7751, allocations: 0 / 1.275 GB, free: 3.793 MB / 0.9669 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.0004208/0.7755, allocations: 330.1 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.7756, allocations: 11.97 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.7756, allocations: 8.938 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.7757, allocations: 164.4 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7757, allocations: 4.375 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7758, allocations: 4.359 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.7759, allocations: 66.55 kB / 1.275 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7759, allocations: 4.125 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7759, allocations: 11.94 kB / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7759, allocations: 0 / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.776, allocations: 15.94 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.7762, allocations: 177.2 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.7763, allocations: 101.1 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.7764, allocations: 32.3 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.7765, allocations: 93.03 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.7766, allocations: 34.56 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.7766, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002131/0.7768, allocations: 81.38 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.7769, allocations: 162.8 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.777, allocations: 93.86 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.777, allocations: 25.7 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.777, allocations: 80.14 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.7771, allocations: 23.8 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.7771, allocations: 17.7 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7773, allocations: 314.8 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.7773, allocations: 4 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.7774, allocations: 40.28 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.7774, allocations: 48.17 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7774, allocations: 0 / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.7775, allocations: 61.62 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7776, allocations: 9.875 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7776, allocations: 0 / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7776, allocations: 11.92 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.7777, allocations: 11.94 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7777, allocations: 3.984 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.7777, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.7777, allocations: 4 kB / 1.277 GB, free: 1.414 MB / 0.9669 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 9.822e-05/0.7778, allocations: 123.4 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.7778, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.778, allocations: 104.7 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.778, allocations: 4 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.778, allocations: 8.141 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.778, allocations: 4 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.7782, allocations: 165.6 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7782, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.7783, allocations: 19.94 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.7783, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.7783, allocations: 15.92 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7783, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7783, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.7785, allocations: 124.4 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.7785, allocations: 81.06 kB / 1.277 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7786, allocations: 15.92 kB / 1.277 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.7786, allocations: 3.938 kB / 1.277 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.7786, allocations: 11.94 kB / 1.277 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.7786, allocations: 4 kB / 1.277 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.7787, allocations: 79.28 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.7787, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002114/0.7789, allocations: 8 kB / 1.278 GB, free: 0.5469 MB / 0.9669 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.0001738/0.779, allocations: 107.2 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.7792, allocations: 44.17 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7792, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.7792, allocations: 27.86 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.7794, allocations: 4 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.7797, allocations: 161.4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7801, allocations: 0.6846 MB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.7801, allocations: 8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.7801, allocations: 15.42 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7801, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.003293/0.7834, allocations: 0.583 MB / 1.279 GB, free: 14.85 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.886691603809595]