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.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.001305/0.001305, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9352/0.9352, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.531/2.531, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.204e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.000977/0.0009891, allocations: 0.6339 MB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00019/0.001179, allocations: 63.72 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.001193, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.001206, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.001212, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.00141, allocations: 23.92 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.001457, allocations: 15.98 kB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.001487, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.001513, allocations: 11.92 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.001553, allocations: 4 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.001563, allocations: 0 / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.001619, allocations: 19.92 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.001634, allocations: 3.984 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.001645, allocations: 4 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.358e-05/0.001708, allocations: 23.95 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.00171, allocations: 0 / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00171, allocations: 4 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.001713, allocations: 0 / 0.8394 GB, free: 13.37 MB / 0.8073 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.0002196/0.001932, allocations: 224.9 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.001963, allocations: 12.62 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.001985, allocations: 8.922 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.92e-05/0.002034, allocations: 101.8 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.002042, allocations: 8.312 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.00205, allocations: 384 / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.681e-05/0.002127, allocations: 70.53 kB / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002133, allocations: 192 / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.00214, allocations: 8.375 kB / 0.8398 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.002146, allocations: 384 / 0.8398 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.002165, allocations: 19.8 kB / 0.8398 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.194e-05/0.002247, allocations: 84.55 kB / 0.8399 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.002313, allocations: 97.16 kB / 0.84 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.002335, allocations: 32.36 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.002416, allocations: 7.938 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.002435, allocations: 38.55 kB / 0.8401 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.002436, allocations: 4 kB / 0.8401 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 9.554e-05/0.002531, allocations: 57.56 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.002584, allocations: 162.2 kB / 0.8403 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.415e-05/0.002608, allocations: 89.86 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.002615, allocations: 25.7 kB / 0.8404 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.002634, allocations: 88.12 kB / 0.8405 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.002662, allocations: 19.83 kB / 0.8405 GB, free: 12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.002682, allocations: 14.34 kB / 0.8405 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.002753, allocations: 318.8 kB / 0.8408 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.002763, allocations: 15.98 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.002781, allocations: 28.3 kB / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.002822, allocations: 44.22 kB / 0.8409 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.002824, allocations: 0 / 0.8409 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.961e-05/0.002874, allocations: 61.75 kB / 0.841 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.002883, allocations: 8 kB / 0.841 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.002887, allocations: 4 kB / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.002897, allocations: 0 / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.002944, allocations: 15.92 kB / 0.841 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.002948, allocations: 4 kB / 0.841 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.002961, allocations: 3.938 kB / 0.841 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.002967, allocations: 4 kB / 0.841 GB, free: 11.44 MB / 0.8073 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.631e-05/0.003014, allocations: 109.8 kB / 0.8411 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.003024, allocations: 11.98 kB / 0.8411 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/0.003115, allocations: 88.56 kB / 0.8412 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.003117, allocations: 0 / 0.8412 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.00312, allocations: 4 kB / 0.8412 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.003123, allocations: 0 / 0.8412 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.553e-05/0.003188, allocations: 81.77 kB / 0.8413 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.003189, allocations: 4 kB / 0.8413 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.003218, allocations: 24.08 kB / 0.8413 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.00322, allocations: 0 / 0.8413 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.003225, allocations: 4 kB / 0.8413 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.003226, allocations: 3.984 kB / 0.8413 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.003228, allocations: 4 kB / 0.8413 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.003299, allocations: 112.4 kB / 0.8414 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.003304, allocations: 4 kB / 0.8415 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-06/0.003311, allocations: 4 kB / 0.8415 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.003324, allocations: 0 / 0.8415 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.003338, allocations: 11.98 kB / 0.8415 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.00334, allocations: 8 kB / 0.8415 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.769e-06/0.003345, allocations: 4.859 kB / 0.8415 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003345, allocations: 0 / 0.8415 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000107/0.003452, allocations: 8 kB / 0.8415 GB, free: 10.89 MB / 0.8073 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 8.679e-05/0.003539, allocations: 92.28 kB / 0.8416 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.003598, allocations: 32.72 kB / 0.8416 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0036, allocations: 0 / 0.8416 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.003624, allocations: 33.17 kB / 0.8416 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.49e-05/0.003678, allocations: 5.703 kB / 0.8416 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.003848, allocations: 140.1 kB / 0.8418 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.003875, allocations: 59.36 kB / 0.8418 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.003898, allocations: 8.234 kB / 0.8418 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.003931, allocations: 59.38 kB / 0.8419 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.003931, allocations: 0 / 0.8419 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.001818/0.005749, allocations: 0.6526 MB / 0.8425 GB, free: 9.746 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.227547457907349]