Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 119 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9285, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001913/0.9305, allocations: 0.5968 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.9308, allocations: 71.03 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.9308, allocations: 1.094 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.9309, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-06/0.9309, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.9311, allocations: 23.48 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.9312, allocations: 8.047 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.9313, allocations: 7.656 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.9313, allocations: 12.02 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.9314, allocations: 9.547 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.9314, allocations: 0 / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.9315, allocations: 15.16 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.9315, allocations: 1.641 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.9315, allocations: 7.656 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.9316, allocations: 19.92 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9316, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.998e-06/0.9317, allocations: 0.6094 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.9317, allocations: 3.938 kB / 1.089 GB, free: 5.051 MB / 0.8575 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.0003675/0.932, allocations: 333.9 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.9321, allocations: 8.781 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.9321, allocations: 2.656 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.9322, allocations: 162.3 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.9322, allocations: 1.656 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.9323, allocations: 1.688 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.9324, allocations: 76.86 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9324, allocations: 192 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9324, allocations: 9.281 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9325, allocations: 1.031 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.9325, allocations: 16.8 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.9327, allocations: 185.6 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.9328, allocations: 94.53 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.9328, allocations: 35.36 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.933, allocations: 90.78 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.9331, allocations: 33.14 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.9331, allocations: 0 / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002226/0.9333, allocations: 80.8 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9334, allocations: 160.3 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.531e-05/0.9334, allocations: 90.66 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.9334, allocations: 27.05 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.9334, allocations: 80.14 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.9335, allocations: 26.81 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.9335, allocations: 15.75 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.18e-05/0.9336, allocations: 321.1 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.9336, allocations: 4.484 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.9337, allocations: 35.42 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.9337, allocations: 49.95 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9337, allocations: 1.031 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.9339, allocations: 62.67 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.9339, allocations: 5.688 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.9339, allocations: 4.688 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.9339, allocations: 6.828 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.934, allocations: 9.797 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.9341, allocations: 10.31 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.9341, allocations: 5.859 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.9341, allocations: 3.281 kB / 1.091 GB, free: 2.883 MB / 0.8575 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 6.126e-05/0.9342, allocations: 113.2 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.9342, allocations: 2.75 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.9344, allocations: 106.5 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.9344, allocations: 5.562 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9344, allocations: 1.031 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.9345, allocations: 85.28 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.9345, allocations: 2.781 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.9345, allocations: 6.031 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.9345, allocations: 6.031 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001847/0.9347, allocations: 471.4 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001949/0.9349, allocations: 0.5417 MB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.763e-05/0.935, allocations: 22.95 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.935, allocations: 75.28 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of Backend: time 1.9e-07/0.935, allocations: 1.125 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007597/0.9358, allocations: 102.7 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004168/0.9362, allocations: 0.5587 MB / 1.093 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.003233/0.9394, allocations: 0.5804 MB / 1.094 GB, free: 16.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches