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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001704/0.001704, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001812/0.001813, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.23 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001905/0.347, allocations: 0.6642 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.3473, allocations: 63.77 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.3473, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3474, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.3474, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3476, allocations: 11.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.563e-05/0.3477, allocations: 15.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.3477, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.3477, allocations: 7.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.3478, allocations: 7.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3478, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.3479, allocations: 23.91 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.3479, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.348, allocations: 11.94 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.969e-05/0.3481, allocations: 15.95 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3481, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3481, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3481, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 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.0004099/0.3485, allocations: 323.6 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3486, allocations: 15.97 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3486, allocations: 0.9375 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.3487, allocations: 164.4 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3487, allocations: 4.375 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3487, allocations: 384 / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3489, allocations: 82.47 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3489, allocations: 4.188 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3489, allocations: 7.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3489, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.349, allocations: 11.94 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.3492, allocations: 179.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.3493, allocations: 97.05 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.3493, allocations: 36.34 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.3495, allocations: 81.11 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3496, allocations: 50.48 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3496, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002175/0.3498, allocations: 73.41 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.3499, allocations: 154.8 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04e-05/0.3499, allocations: 97.86 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.35, allocations: 25.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.35, allocations: 80.14 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.3501, allocations: 19.73 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3501, allocations: 17.72 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.3502, allocations: 310.8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.3502, allocations: 15.92 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.3503, allocations: 36.23 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.3503, allocations: 52.22 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3504, allocations: 4 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.3505, allocations: 65.56 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3505, allocations: 4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3505, allocations: 0 / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3505, allocations: 7.938 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.3506, allocations: 11.98 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3506, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.3506, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3507, allocations: 160 / 1.07 GB, free: 7.645 MB / 0.8262 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.68e-05/0.3508, allocations: 121.8 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.3508, allocations: 0 / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.351, allocations: 124.6 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.351, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.351, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.351, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3512, allocations: 165.6 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3512, allocations: 4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.3512, allocations: 12 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3512, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3513, allocations: 7.938 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3513, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3513, allocations: 4 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3514, allocations: 128.5 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3515, allocations: 81.02 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3515, allocations: 7.938 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.3515, allocations: 8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.3516, allocations: 7.984 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.3516, allocations: 4 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.3516, allocations: 75.28 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3516, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002335/0.3519, allocations: 12 kB / 1.071 GB, free: 6.777 MB / 0.8262 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.0001875/0.3521, allocations: 107.2 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3522, allocations: 39.95 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3522, allocations: 3.938 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.3523, allocations: 23.94 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.3524, allocations: 13.81 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.3528, allocations: 158.7 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.353, allocations: 0.6809 MB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.3531, allocations: 8 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3531, allocations: 15.44 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3531, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.002936/0.3561, allocations: 0.5512 MB / 1.073 GB, free: 5.105 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches