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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 110.4 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2574, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001541/0.2589, allocations: 0.5995 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.2592, allocations: 67.77 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.2592, allocations: 8 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.2592, allocations: 3.938 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.2592, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.2594, allocations: 19.97 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.2594, allocations: 7.938 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.2595, allocations: 7.984 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.2595, allocations: 3.938 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.2595, allocations: 11.98 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.2595, allocations: 0 / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/0.2596, allocations: 15.98 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.2596, allocations: 11.94 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2596, allocations: 3.984 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.392e-05/0.2597, allocations: 24.19 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2597, allocations: 3.938 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2597, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2597, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 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.0003734/0.2601, allocations: 331.4 kB / 1.217 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2601, allocations: 8.031 kB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2602, allocations: 38.73 kB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.2602, allocations: 4.938 kB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2603, allocations: 160.4 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.2603, allocations: 384 / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2603, allocations: 4.375 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2605, allocations: 78.47 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2605, allocations: 3.938 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2605, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2605, allocations: 4 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.2605, allocations: 15.92 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.2607, allocations: 177.1 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.2608, allocations: 97.02 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.2609, allocations: 40.47 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.261, allocations: 77.11 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2611, allocations: 42.5 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.083e-06/0.2611, allocations: 0 / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001924/0.2613, allocations: 77.48 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.2613, allocations: 158.8 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.2614, allocations: 89.86 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2614, allocations: 33.7 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.2614, allocations: 80.14 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.2615, allocations: 23.78 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2615, allocations: 17.72 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2616, allocations: 314.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.2616, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.2617, allocations: 44.28 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.2617, allocations: 48.23 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2617, allocations: 3.938 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000108/0.2619, allocations: 69.55 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2619, allocations: 4 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2619, allocations: 8.062 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2619, allocations: 4 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.262, allocations: 12 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.262, allocations: 3.984 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.262, allocations: 4 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.262, allocations: 4 kB / 1.218 GB, free: 12.7 MB / 0.9669 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.524e-05/0.2621, allocations: 113.9 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.2621, allocations: 11.94 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.2623, allocations: 96.59 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2623, allocations: 4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2623, allocations: 4.156 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2623, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.2624, allocations: 169.6 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2625, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.2625, allocations: 15.98 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2625, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2625, allocations: 7.938 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2625, allocations: 3.938 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2625, allocations: 4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2627, allocations: 125.5 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.2627, allocations: 89 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2628, allocations: 7.938 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.2628, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2628, allocations: 15.98 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2628, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.2629, allocations: 75.28 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2629, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002067/0.2631, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 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.0005391/0.2636, allocations: 0.6625 MB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2638, allocations: 39.92 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2638, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.2638, allocations: 32.3 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.264, allocations: 10.16 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2644, allocations: 181.6 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2647, allocations: 0.6768 MB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.2647, allocations: 16.23 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.2647, allocations: 15.44 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.2648, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.2864, allocations: 1.4 MB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.172, allocations: 9.953 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.361526476001018]