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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.92 kB / 0.9504 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 140.4 MB / 1.088 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001583/0.2472, allocations: 0.5992 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.2475, allocations: 60.11 kB / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.2475, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.2475, allocations: 3.938 kB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.2476, allocations: 0 / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2478, allocations: 27.97 kB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.2478, allocations: 15.98 kB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2479, allocations: 0 / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.2479, allocations: 4 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.248, allocations: 15.92 kB / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.248, allocations: 0 / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.2481, allocations: 15.92 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2481, allocations: 7.984 kB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2481, allocations: 7.938 kB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.223e-05/0.2482, allocations: 11.97 kB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2482, allocations: 8 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2482, allocations: 0 / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2482, allocations: 4 kB / 1.088 GB, free: 1.281 MB / 0.8419 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.0003188/0.2486, allocations: 323.8 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2486, allocations: 8.031 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.2486, allocations: 38.69 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.2487, allocations: 4.938 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.2488, allocations: 168.3 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2488, allocations: 4.375 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2488, allocations: 384 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2489, allocations: 78.41 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2489, allocations: 7.938 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2489, allocations: 4 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2489, allocations: 0 / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.249, allocations: 11.94 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2492, allocations: 181.2 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.2493, allocations: 97.02 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.2493, allocations: 32.41 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.2495, allocations: 85.11 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.2496, allocations: 42.5 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.2496, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001881/0.2498, allocations: 81.44 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.2498, allocations: 154.2 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.148e-05/0.2499, allocations: 89.86 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2499, allocations: 30.33 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.2499, allocations: 84.08 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.25, allocations: 19.89 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.25, allocations: 17.72 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.2501, allocations: 310.8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2501, allocations: 7.984 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.2502, allocations: 36.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.2502, allocations: 52.22 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2503, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.2504, allocations: 61.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2504, allocations: 8.156 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2504, allocations: 7.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2504, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.2505, allocations: 11.98 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2505, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.2506, allocations: 11.94 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2506, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 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 7.366e-05/0.2506, allocations: 105.8 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.2507, allocations: 11.89 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.2509, allocations: 108.7 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2509, allocations: 0 / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2509, allocations: 4 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2509, allocations: 3.938 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.251, allocations: 169.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2511, allocations: 8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.2511, allocations: 15.98 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2511, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2511, allocations: 7.938 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2512, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.2512, allocations: 7.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2513, allocations: 128.4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2514, allocations: 85.05 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2514, allocations: 3.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/0.2514, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.2514, allocations: 11.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.2514, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.2515, allocations: 84.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2515, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.2517, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 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.0004168/0.2521, allocations: 0.6625 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2522, allocations: 35.92 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2522, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.2523, allocations: 23.92 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.2525, allocations: 10.19 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.2528, allocations: 186 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2531, allocations: 0.6846 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.2531, allocations: 12 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.2532, allocations: 15.62 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2532, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.271, allocations: 1.409 MB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.951, allocations: 10.03 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches