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.067/2.067, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001056/0.001056, allocations: 176.8 kB / 487.4 MB, free: 5.027 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.325/1.325, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 83.92 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.801e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8339/1.097, allocations: 148.1 MB / 1.351 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.097, allocations: 70.19 kB / 1.351 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002439/1.1, allocations: 0.6247 MB / 1.351 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.1, allocations: 0.8125 kB / 1.351 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.782e-06/1.1, allocations: 0 / 1.351 GB, free: 34.16 MB / 0.8386 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.0002753/1.1, allocations: 319.7 kB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.1, allocations: 12.75 kB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/1.1, allocations: 0 / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/1.1, allocations: 165.4 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.1, allocations: 7.859 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/1.1, allocations: 0.625 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.453e-05/1.1, allocations: 5.531 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/1.1, allocations: 73.66 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.1, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.1, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.1, allocations: 3.844 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/1.101, allocations: 163.1 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/1.101, allocations: 89.77 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/1.101, allocations: 42.8 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/1.101, allocations: 83.62 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.101, allocations: 34.06 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/1.101, allocations: 0 / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0004007/1.101, allocations: 94.86 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.101, allocations: 162.1 kB / 1.352 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/1.101, allocations: 85 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.101, allocations: 30.95 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/1.101, allocations: 81.67 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/1.102, allocations: 16.64 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.102, allocations: 0 / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.102, allocations: 319.8 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/1.102, allocations: 3.906 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/1.102, allocations: 35.66 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/1.102, allocations: 45.25 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.102, allocations: 1.312 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002674/1.102, allocations: 92.05 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.102, allocations: 5.125 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.102, allocations: 2.625 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.075e-05/1.102, allocations: 1.312 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.102, allocations: 9.5 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.102, allocations: 10.66 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/1.102, allocations: 2.703 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.102, allocations: 4.141 kB / 1.353 GB, free: 32.18 MB / 0.8386 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 () * 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.213e-05/1.103, allocations: 102.3 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/1.103, allocations: 6.578 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/1.103, allocations: 130.2 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.103, allocations: 2.656 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.103, allocations: 1.312 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.103, allocations: 3 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/1.103, allocations: 140.3 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.103, allocations: 1.25 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/1.103, allocations: 14.62 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.103, allocations: 5.5 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.103, allocations: 7.922 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.103, allocations: 9.109 kB / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.103, allocations: 5.188 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/1.104, allocations: 194.9 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/1.104, allocations: 88.66 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.104, allocations: 2.562 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/1.104, allocations: 1.281 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/1.104, allocations: 10.67 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/1.104, allocations: 3.969 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.035e-05/1.104, allocations: 79.33 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 3.938 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002016/1.104, allocations: 8.688 kB / 1.354 GB, free: 31.49 MB / 0.8386 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 () * 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.0002298/1.104, allocations: 106.5 kB / 1.354 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.104, allocations: 31.31 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.104, allocations: 4.062 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/1.104, allocations: 18.84 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/1.105, allocations: 6.531 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/1.105, allocations: 97.61 kB / 1.354 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.105, allocations: 0.6824 MB / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.678e-05/1.105, allocations: 13.16 kB / 1.355 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/1.105, allocations: 14.62 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.105, allocations: 0 / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.002624/1.108, allocations: 0.5174 MB / 1.355 GB, free: 30.5 MB / 0.8386 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