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.001649/0.001649, 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.002055/0.002055, allocations: 194.2 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.001969/0.001969, allocations: 75.88 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8359, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001866/0.8378, allocations: 0.5976 MB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.8381, allocations: 67.78 kB / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.8381, allocations: 0 / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.8381, allocations: 0 / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.818e-06/0.8381, allocations: 0 / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.8384, allocations: 31.78 kB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.8385, allocations: 11.98 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.8385, allocations: 4 kB / 1.275 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.8385, allocations: 4 kB / 1.275 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.8386, allocations: 11.97 kB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.8386, allocations: 4 kB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.8387, allocations: 19.92 kB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.8387, allocations: 0 / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.8387, allocations: 4 kB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.8388, allocations: 23.89 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8388, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8388, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8388, allocations: 0 / 1.275 GB, free: 3.75 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.0004595/0.8393, allocations: 330.1 kB / 1.275 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8393, allocations: 12.03 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.8394, allocations: 4.938 kB / 1.275 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.8395, allocations: 164.3 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.8395, allocations: 4.375 kB / 1.275 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.8395, allocations: 4.375 kB / 1.275 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.8397, allocations: 70.53 kB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8397, allocations: 4.125 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.8397, allocations: 7.938 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.8397, allocations: 4 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.8397, allocations: 7.938 kB / 1.275 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.84, allocations: 177.3 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.8401, allocations: 104.9 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.8401, allocations: 40.42 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.8403, allocations: 77.11 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.8404, allocations: 46.55 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.8404, allocations: 0 / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002164/0.8406, allocations: 77.44 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8407, allocations: 154.8 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.8407, allocations: 97.86 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.8408, allocations: 33.69 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.8408, allocations: 80.14 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.8409, allocations: 15.8 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.8409, allocations: 21.66 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.841, allocations: 318.8 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.8411, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.8411, allocations: 40.3 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.8412, allocations: 48.22 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8412, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.8413, allocations: 73.5 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8413, allocations: 5.875 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.8413, allocations: 4 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8413, allocations: 3.938 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.8414, allocations: 15.92 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.8414, allocations: 4 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.8414, allocations: 0 / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8414, allocations: 4 kB / 1.277 GB, free: 1.367 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 8.502e-05/0.8415, allocations: 114.5 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.8415, allocations: 4 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.8417, allocations: 100.5 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8418, allocations: 8.156 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8418, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8418, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.8419, allocations: 181.7 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8419, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.842, allocations: 15.94 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.842, allocations: 4 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.842, allocations: 3.938 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.842, allocations: 4 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.842, allocations: 3.984 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.8422, allocations: 120.5 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.8422, allocations: 85.06 kB / 1.277 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.8423, allocations: 3.938 kB / 1.277 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.8423, allocations: 8 kB / 1.277 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.8423, allocations: 11.98 kB / 1.277 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.8423, allocations: 7.938 kB / 1.277 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.8424, allocations: 75.28 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8424, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002114/0.8426, allocations: 4 kB / 1.278 GB, free: 0.5156 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.0001818/0.8428, allocations: 115.1 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.8429, allocations: 39.92 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8429, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.8429, allocations: 23.94 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.8431, allocations: 16.02 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.8434, allocations: 160.8 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.8438, allocations: 0.6846 MB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.8438, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.8438, allocations: 11.44 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8438, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.003372/0.8472, allocations: 0.5945 MB / 1.279 GB, free: 14.8 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 gbode -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.602495345752686]