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.00166/0.00166, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001874/0.001874, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.823/2.823, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 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.002002/0.002002, allocations: 63.91 kB / 1.107 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001992/1.041, allocations: 0.6087 MB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/1.041, allocations: 65.72 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/1.041, allocations: 3.938 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/1.041, allocations: 3.938 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-06/1.041, allocations: 0.8438 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/1.041, allocations: 24.42 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/1.041, allocations: 11.14 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/1.041, allocations: 2 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/1.041, allocations: 9.172 kB / 1.273 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/1.042, allocations: 9.719 kB / 1.273 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/1.042, allocations: 0 / 1.273 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/1.042, allocations: 15.45 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/1.042, allocations: 1.594 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/1.042, allocations: 7.5 kB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/1.042, allocations: 19.72 kB / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.042, allocations: 7.938 kB / 1.273 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.973e-06/1.042, allocations: 0.7188 kB / 1.273 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.042, allocations: 0 / 1.273 GB, free: 7.414 MB / 0.9981 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.0003519/1.042, allocations: 327.3 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.042, allocations: 9.812 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/1.042, allocations: 2.609 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/1.042, allocations: 161.8 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.042, allocations: 1.281 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/1.042, allocations: 2.688 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.042, allocations: 80.17 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.042, allocations: 192 / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.042, allocations: 4.812 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.043, allocations: 1.531 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/1.043, allocations: 12.41 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/1.043, allocations: 181.4 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/1.043, allocations: 103.4 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/1.043, allocations: 34.14 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/1.043, allocations: 86.23 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.043, allocations: 42.42 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 2.345e-06/1.043, allocations: 4 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002217/1.043, allocations: 75.39 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.043, allocations: 160.4 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.023e-05/1.043, allocations: 90.52 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/1.043, allocations: 30.52 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.406e-05/1.043, allocations: 81.48 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/1.043, allocations: 23.69 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/1.043, allocations: 22.92 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/1.043, allocations: 313.6 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/1.043, allocations: 8.328 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/1.043, allocations: 35.27 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/1.044, allocations: 49.83 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.044, allocations: 0.8438 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.539e-05/1.044, allocations: 63.03 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.044, allocations: 5.938 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.044, allocations: 5.766 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.044, allocations: 5.812 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/1.044, allocations: 9.797 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.044, allocations: 2.203 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/1.044, allocations: 5.875 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/1.044, allocations: 3.516 kB / 1.275 GB, free: 5.25 MB / 0.9981 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 4.97e-05/1.044, allocations: 114.3 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/1.044, allocations: 2.031 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/1.044, allocations: 112.6 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.044, allocations: 1.875 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.044, allocations: 2.094 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.044, allocations: 1.781 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.044, allocations: 171.8 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.044, allocations: 1.125 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/1.044, allocations: 23.39 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.044, allocations: 1.594 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.044, allocations: 6.703 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.044, allocations: 5.594 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.044, allocations: 2.594 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/1.044, allocations: 128.8 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/1.044, allocations: 84.59 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/1.044, allocations: 5.875 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/1.044, allocations: 1.625 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/1.044, allocations: 9.828 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.044, allocations: 3.469 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.52e-05/1.045, allocations: 83.22 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.045, allocations: 0.9688 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002077/1.045, allocations: 5.984 kB / 1.275 GB, free: 4.531 MB / 0.9981 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.000163/1.045, allocations: 113.4 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001425/1.045, allocations: 31.61 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.045, allocations: 0.75 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/1.045, allocations: 25.08 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/1.045, allocations: 8.359 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/1.046, allocations: 170 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/1.046, allocations: 0.6777 MB / 1.276 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.102e-05/1.046, allocations: 11.64 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/1.046, allocations: 10.94 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.046, allocations: 1.094 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of Templates: time 0.003322/1.049, allocations: 0.5764 MB / 1.277 GB, free: 3.465 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.958013340830803]