Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.9 MB, free: 3.184 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 489.7 MB / 0.7761 GB, free: 2.52 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=501,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.88 kB / 1.127 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 172.1 MB / 1.295 GB, free: 38.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001672/1.137, allocations: 0.5972 MB / 1.295 GB, free: 38.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/1.137, allocations: 76.98 kB / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/1.137, allocations: 2.875 kB / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/1.137, allocations: 0 / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-06/1.137, allocations: 0 / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/1.138, allocations: 19.52 kB / 1.296 GB, free: 38.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/1.138, allocations: 8.891 kB / 1.296 GB, free: 38.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/1.138, allocations: 0 / 1.296 GB, free: 38.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/1.138, allocations: 9.641 kB / 1.296 GB, free: 38.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/1.138, allocations: 18.25 kB / 1.296 GB, free: 38.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/1.138, allocations: 0 / 1.296 GB, free: 38.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/1.138, allocations: 15.98 kB / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/1.138, allocations: 0 / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/1.138, allocations: 2.906 kB / 1.296 GB, free: 38.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.786e-05/1.138, allocations: 24.08 kB / 1.296 GB, free: 38.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.138, allocations: 0 / 1.296 GB, free: 38.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.138, allocations: 0 / 1.296 GB, free: 38.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.138, allocations: 0 / 1.296 GB, free: 38.2 MB / 1.061 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.0003443/1.138, allocations: 329.8 kB / 1.296 GB, free: 37.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.138, allocations: 14.77 kB / 1.296 GB, free: 37.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/1.138, allocations: 8.828 kB / 1.296 GB, free: 37.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/1.139, allocations: 160.4 kB / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.139, allocations: 6.875 kB / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.139, allocations: 384 / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.139, allocations: 69.88 kB / 1.296 GB, free: 37.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.139, allocations: 4.188 kB / 1.296 GB, free: 37.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.139, allocations: 10.66 kB / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/1.139, allocations: 0 / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/1.139, allocations: 9.844 kB / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/1.139, allocations: 182.1 kB / 1.296 GB, free: 37.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/1.139, allocations: 100.7 kB / 1.297 GB, free: 37.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/1.139, allocations: 27.2 kB / 1.297 GB, free: 37.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/1.139, allocations: 97.55 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/1.139, allocations: 37.47 kB / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.139, allocations: 0 / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001799/1.139, allocations: 74.55 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/1.139, allocations: 172.8 kB / 1.297 GB, free: 36.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.049e-05/1.139, allocations: 89.86 kB / 1.297 GB, free: 36.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/1.139, allocations: 25.7 kB / 1.297 GB, free: 36.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-06/1.139, allocations: 80.14 kB / 1.297 GB, free: 36.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/1.14, allocations: 22.73 kB / 1.297 GB, free: 36.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/1.14, allocations: 15.75 kB / 1.297 GB, free: 36.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/1.14, allocations: 317.7 kB / 1.297 GB, free: 36.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/1.14, allocations: 2.969 kB / 1.297 GB, free: 36.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/1.14, allocations: 41.39 kB / 1.297 GB, free: 36.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/1.14, allocations: 43.95 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.14, allocations: 4 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.438e-05/1.14, allocations: 68.2 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.14, allocations: 6.594 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.14, allocations: 2.938 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.14, allocations: 3.938 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/1.14, allocations: 12.25 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.14, allocations: 0 / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/1.14, allocations: 2.938 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.14, allocations: 11.28 kB / 1.298 GB, free: 36.03 MB / 1.061 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 5.137e-05/1.14, allocations: 116.6 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/1.14, allocations: 0 / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/1.14, allocations: 103.1 kB / 1.298 GB, free: 35.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.14, allocations: 2.938 kB / 1.298 GB, free: 35.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.14, allocations: 2.625 kB / 1.298 GB, free: 35.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.14, allocations: 3.281 kB / 1.298 GB, free: 35.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.55e-05/1.14, allocations: 165.5 kB / 1.298 GB, free: 35.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.14, allocations: 10.78 kB / 1.298 GB, free: 35.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/1.14, allocations: 22.62 kB / 1.298 GB, free: 35.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.14, allocations: 2.844 kB / 1.298 GB, free: 35.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/1.14, allocations: 6.844 kB / 1.298 GB, free: 35.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.14, allocations: 0 / 1.298 GB, free: 35.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.14, allocations: 2.906 kB / 1.298 GB, free: 35.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/1.14, allocations: 119.5 kB / 1.298 GB, free: 35.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/1.14, allocations: 83.95 kB / 1.298 GB, free: 35.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/1.14, allocations: 6.812 kB / 1.298 GB, free: 35.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/1.141, allocations: 4 kB / 1.298 GB, free: 35.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/1.141, allocations: 16.89 kB / 1.298 GB, free: 35.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/1.141, allocations: 6.75 kB / 1.298 GB, free: 35.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.268e-05/1.141, allocations: 75.28 kB / 1.298 GB, free: 35.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.141, allocations: 0 / 1.298 GB, free: 35.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001994/1.141, allocations: 5.625 kB / 1.298 GB, free: 35.33 MB / 1.061 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.0001409/1.141, allocations: 110.9 kB / 1.298 GB, free: 35.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001013/1.141, allocations: 43.8 kB / 1.299 GB, free: 35.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.141, allocations: 0 / 1.299 GB, free: 35.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/1.141, allocations: 26.84 kB / 1.299 GB, free: 35.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/1.141, allocations: 3 kB / 1.299 GB, free: 35.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/1.141, allocations: 179.3 kB / 1.299 GB, free: 35.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/1.142, allocations: 0.6806 MB / 1.299 GB, free: 34.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/1.142, allocations: 10.06 kB / 1.299 GB, free: 34.32 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.142, allocations: 2.438 kB / 1.299 GB, free: 34.32 MB / 1.061 GB Notification: Performance of Templates: time 0.002465/1.144, allocations: 0.6865 MB / 1.3 GB, free: 34.27 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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