Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.797e-05, allocations: 6.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001065/0.001083, allocations: 0.6059 MB / 0.9816 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.001281, allocations: 59.72 kB / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.001296, allocations: 0 / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.001311, allocations: 0 / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.106e-06/0.00132, allocations: 4 kB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.001559, allocations: 23.86 kB / 0.9817 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.001607, allocations: 8 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.001647, allocations: 7.969 kB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.001676, allocations: 8 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.001729, allocations: 4 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.001741, allocations: 0 / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.001805, allocations: 11.98 kB / 0.9817 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.00182, allocations: 7.922 kB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.001836, allocations: 11.98 kB / 0.9818 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.457e-05/0.001921, allocations: 19.97 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.001922, allocations: 0 / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.31e-07/0.001923, allocations: 0 / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.001928, allocations: 0 / 0.9818 GB, free: 1.746 MB / 0.9323 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.0002851/0.002213, allocations: 250.3 kB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.002254, allocations: 12.03 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.002283, allocations: 38.73 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.002307, allocations: 4.938 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.113e-05/0.002368, allocations: 109.7 kB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.002379, allocations: 384 / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.002388, allocations: 4.375 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.002502, allocations: 74.48 kB / 0.9822 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00251, allocations: 192 / 0.9822 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.00252, allocations: 4.375 kB / 0.9822 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.002525, allocations: 4.125 kB / 0.9823 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.002557, allocations: 15.92 kB / 0.9823 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.002684, allocations: 144.3 kB / 0.9824 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.002763, allocations: 101 kB / 0.9825 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.002795, allocations: 36.36 kB / 0.9825 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.00294, allocations: 11.98 kB / 0.9825 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.002964, allocations: 42.56 kB / 0.9826 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.002965, allocations: 7.875 kB / 0.9826 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5): time 0.0001669/0.003132, allocations: 69.55 kB / 0.9827 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.00319, allocations: 162.2 kB / 0.9828 GB, free: 432 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.697e-05/0.003217, allocations: 93.86 kB / 0.9829 GB, free: 328 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003226, allocations: 25.7 kB / 0.9829 GB, free: 296 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.003244, allocations: 80.77 kB / 0.983 GB, free: 212 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.003278, allocations: 15.86 kB / 0.983 GB, free: 196 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.003304, allocations: 25.7 kB / 0.983 GB, free: 164 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.003389, allocations: 310.8 kB / 0.9833 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.003403, allocations: 8 kB / 0.9834 GB, free: 15.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.003427, allocations: 40.22 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.003475, allocations: 48.23 kB / 0.9834 GB, free: 15.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003477, allocations: 0 / 0.9834 GB, free: 15.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.981e-05/0.003537, allocations: 61.62 kB / 0.9835 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.003548, allocations: 8 kB / 0.9835 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.003554, allocations: 3.984 kB / 0.9835 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.003564, allocations: 0 / 0.9835 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.003617, allocations: 11.94 kB / 0.9835 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.003624, allocations: 7.938 kB / 0.9835 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.00364, allocations: 0 / 0.9835 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.003647, allocations: 4 kB / 0.9835 GB, free: 15.62 MB / 0.948 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.198e-05/0.003699, allocations: 125.9 kB / 0.9836 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.003705, allocations: 0 / 0.9836 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.00383, allocations: 104.6 kB / 0.9837 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.003833, allocations: 3.984 kB / 0.9838 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.003839, allocations: 7.938 kB / 0.9838 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.003842, allocations: 0 / 0.9838 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.981e-05/0.003922, allocations: 128.9 kB / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.003923, allocations: 8 kB / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.003952, allocations: 19.92 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.003954, allocations: 0 / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.00396, allocations: 4 kB / 0.9839 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.003961, allocations: 0 / 0.9839 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.003965, allocations: 7.938 kB / 0.9839 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.095e-05/0.004056, allocations: 120.4 kB / 0.984 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.004063, allocations: 11.95 kB / 0.984 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.004073, allocations: 7.938 kB / 0.9841 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.004087, allocations: 4 kB / 0.9841 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.004102, allocations: 11.92 kB / 0.9841 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.004107, allocations: 8 kB / 0.9841 GB, free: 14.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.004123, allocations: 75.28 kB / 0.9842 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004123, allocations: 0 / 0.9842 GB, free: 14.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001381/0.004261, allocations: 11.94 kB / 0.9842 GB, free: 14.89 MB / 0.948 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.0002646/0.004526, allocations: 0.6548 MB / 0.9848 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.004607, allocations: 44.11 kB / 0.9848 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.004609, allocations: 0 / 0.9848 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.00463, allocations: 23.92 kB / 0.9849 GB, free: 14.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.004741, allocations: 6.969 kB / 0.9849 GB, free: 14.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.005049, allocations: 174 kB / 0.985 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.005095, allocations: 71.2 kB / 0.9851 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.005124, allocations: 12.38 kB / 0.9851 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.005158, allocations: 20.48 kB / 0.9851 GB, free: 13.78 MB / 0.948 GB Notification: Performance of SimCode: time 4e-07/0.005158, allocations: 0 / 0.9851 GB, free: 13.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.01829, allocations: 2.057 MB / 0.9871 GB, free: 11.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/6.862, allocations: 14.2 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.967209623195231]