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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 173.2 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.000901, allocations: 96.31 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004491, allocations: 10.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3561, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.557, allocations: 148.8 MB / 1.368 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5572, allocations: 83.94 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001485/0.5587, allocations: 0.6134 MB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5588, allocations: 0 / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5588, allocations: 0 / 1.369 GB, free: 12.56 MB / 0.8698 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.0003149/0.5591, allocations: 331.4 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5591, allocations: 8.031 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.5592, allocations: 0 / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.5593, allocations: 167 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5593, allocations: 0 / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.5593, allocations: 0 / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.5595, allocations: 77.91 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5595, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5595, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5595, allocations: 4 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.5596, allocations: 15.88 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.5598, allocations: 199.8 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.5599, allocations: 97 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.5601, allocations: 77.11 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5602, allocations: 42.56 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.5602, allocations: 0 / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.000217/0.5604, allocations: 73.55 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.5605, allocations: 158.8 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.935e-05/0.5605, allocations: 89 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5606, allocations: 29.7 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.5606, allocations: 80.14 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.5606, allocations: 15.8 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5607, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5608, allocations: 314.8 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.5608, allocations: 4 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.5608, allocations: 40.28 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.5609, allocations: 8 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.5609, allocations: 3.953 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.966e-05/0.561, allocations: 61.56 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.561, allocations: 9.719 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.561, allocations: 4 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.561, allocations: 0 / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.5611, allocations: 19.91 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5612, allocations: 7.984 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.5612, allocations: 0 / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5612, allocations: 4 kB / 1.371 GB, free: 10.33 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.5613, allocations: 113.8 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.5613, allocations: 11.84 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.5615, allocations: 104.7 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5615, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5615, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5616, allocations: 3.984 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5617, allocations: 165.8 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5617, allocations: 4 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.5618, allocations: 19.89 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5618, allocations: 4 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5618, allocations: 4 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5618, allocations: 7.984 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5618, allocations: 0 / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.562, allocations: 171.2 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.5621, allocations: 85.05 kB / 1.371 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.5621, allocations: 7.984 kB / 1.371 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.841e-05/0.5621, allocations: 8 kB / 1.371 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.5621, allocations: 7.953 kB / 1.371 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5622, allocations: 7.938 kB / 1.371 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.5622, allocations: 75.28 kB / 1.371 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5622, allocations: 0 / 1.371 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001961/0.5624, allocations: 19.92 kB / 1.372 GB, free: 9.383 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/0.5626, allocations: 107 kB / 1.372 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5627, allocations: 35.92 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5627, allocations: 0 / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.5628, allocations: 27.92 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.5629, allocations: 8 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.5632, allocations: 146.8 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5634, allocations: 0.6848 MB / 1.372 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.5635, allocations: 11.98 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.5635, allocations: 15.44 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of SimCode: time 1.9e-07/0.5635, allocations: 0 / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of Templates: time 0.002494/0.566, allocations: 0.5203 MB / 1.373 GB, free: 7.758 MB / 0.8698 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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches