Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001164/0.001164, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001217/0.001218, allocations: 188.7 kB / 17.3 MB, free: 5.613 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.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.161/2.161, allocations: 437.1 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 71.77 kB / 0.8707 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, allocations: 151.6 MB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001647/0.251, allocations: 0.5938 MB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.2513, allocations: 63.77 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.2513, allocations: 0 / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.2513, allocations: 4 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.2513, allocations: 4 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.2515, allocations: 23.91 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.2516, allocations: 7.984 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.2516, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.2516, allocations: 11.94 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.2517, allocations: 4 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2517, allocations: 3.984 kB / 1.02 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.2518, allocations: 15.98 kB / 1.02 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2518, allocations: 3.984 kB / 1.02 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.2518, allocations: 11.94 kB / 1.02 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.2519, allocations: 23.97 kB / 1.02 GB, free: 9.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2519, allocations: 0 / 1.02 GB, free: 9.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2519, allocations: 0 / 1.02 GB, free: 9.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2519, allocations: 0 / 1.02 GB, free: 9.145 MB / 0.795 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.0003004/0.2522, allocations: 331.4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.2523, allocations: 8.922 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2523, allocations: 8.922 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.2524, allocations: 164.3 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2524, allocations: 4.375 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2524, allocations: 8.359 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2525, allocations: 66.55 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2525, allocations: 8.125 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2525, allocations: 3.938 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2526, allocations: 0 / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.2526, allocations: 19.92 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2528, allocations: 177.2 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.2528, allocations: 93.08 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.2529, allocations: 36.36 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.253, allocations: 89.03 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2531, allocations: 38.56 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.2531, allocations: 0 / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0001618/0.2532, allocations: 77.48 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.2533, allocations: 158.2 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.581e-05/0.2534, allocations: 90.48 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2534, allocations: 29.7 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.2534, allocations: 84.14 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2534, allocations: 15.75 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2535, allocations: 21.7 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.2536, allocations: 314.8 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.2536, allocations: 4 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.2536, allocations: 40.28 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.2537, allocations: 48.23 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2537, allocations: 0 / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.291e-05/0.2538, allocations: 73.55 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2538, allocations: 4 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2538, allocations: 4 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2538, allocations: 3.938 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.2539, allocations: 8 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2539, allocations: 3.938 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.254, allocations: 11.98 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.254, allocations: 7.938 kB / 1.022 GB, free: 6.758 MB / 0.795 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 5.564e-05/0.254, allocations: 105.8 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2541, allocations: 8.062 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2542, allocations: 104.5 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2542, allocations: 4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2543, allocations: 0 / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2543, allocations: 160 / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2544, allocations: 173.6 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2544, allocations: 4.125 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.2545, allocations: 23.92 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2545, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2545, allocations: 7.938 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2545, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2545, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2546, allocations: 128.4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.2547, allocations: 81.11 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2547, allocations: 3.938 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.775e-05/0.2547, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.2547, allocations: 11.98 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2547, allocations: 8 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.2548, allocations: 80.75 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2548, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001964/0.255, allocations: 4 kB / 1.022 GB, free: 5.902 MB / 0.795 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.0001272/0.2551, allocations: 103.2 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.2552, allocations: 31.92 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2552, allocations: 320 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.2553, allocations: 35.92 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.2554, allocations: 2.969 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.2556, allocations: 156.3 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2559, allocations: 0.6771 MB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.2559, allocations: 11.98 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.2559, allocations: 11.44 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2559, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of Templates: time 0.002229/0.2582, allocations: 0.5616 MB / 1.024 GB, free: 4.25 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches