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.0008793/0.0008793, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008667/0.0008667, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.752/1.752, 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.944e-06/1.944e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.014e-05, allocations: 2.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001757/0.001777, allocations: 0.6175 MB / 0.9816 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.002006, allocations: 59.78 kB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.002024, allocations: 4 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.00204, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-06/0.002048, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.002303, allocations: 23.86 kB / 0.9817 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.002351, allocations: 4 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.002397, allocations: 7.984 kB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.002429, allocations: 11.98 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.002472, allocations: 4 kB / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.002485, allocations: 0 / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.002558, allocations: 15.92 kB / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.002573, allocations: 7.984 kB / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.002588, allocations: 0 / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.002675, allocations: 23.95 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002678, allocations: 0 / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002678, allocations: 0 / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002682, allocations: 4 kB / 0.9818 GB, free: 1.742 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.0003001/0.002982, allocations: 246.4 kB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.003022, allocations: 8.031 kB / 0.982 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.003052, allocations: 30.75 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.00308, allocations: 4.938 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.849e-05/0.003148, allocations: 121.7 kB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.00316, allocations: 384 / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.003169, allocations: 4.375 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003285, allocations: 66.55 kB / 0.9822 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.003293, allocations: 192 / 0.9822 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.003303, allocations: 4.375 kB / 0.9823 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003309, allocations: 8.062 kB / 0.9823 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.003344, allocations: 19.86 kB / 0.9823 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.003505, allocations: 144.3 kB / 0.9824 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.003713, allocations: 97.22 kB / 0.9825 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.003751, allocations: 40.23 kB / 0.9825 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.003887, allocations: 7.984 kB / 0.9826 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.003913, allocations: 38.56 kB / 0.9826 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.003915, allocations: 0 / 0.9826 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5): time 0.0001859/0.0041, allocations: 69.56 kB / 0.9827 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.004169, allocations: 166.1 kB / 0.9828 GB, free: 444 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.27e-05/0.004202, allocations: 93.86 kB / 0.9829 GB, free: 340 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.004216, allocations: 30.33 kB / 0.9829 GB, free: 304 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.004237, allocations: 88.08 kB / 0.983 GB, free: 212 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.004271, allocations: 11.86 kB / 0.983 GB, free: 200 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.004305, allocations: 21.72 kB / 0.9831 GB, free: 172 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.004406, allocations: 314.8 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.004424, allocations: 4 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.004456, allocations: 32.3 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.00452, allocations: 52.22 kB / 0.9834 GB, free: 15.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.004522, allocations: 4 kB / 0.9834 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.759e-05/0.004619, allocations: 65.69 kB / 0.9835 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.004632, allocations: 4 kB / 0.9835 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.004639, allocations: 4 kB / 0.9835 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.004653, allocations: 4 kB / 0.9835 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.004718, allocations: 11.98 kB / 0.9835 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.004726, allocations: 7.875 kB / 0.9835 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.004753, allocations: 4 kB / 0.9835 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.00476, allocations: 4.156 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 6.555e-05/0.004826, allocations: 117.8 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.004839, allocations: 4 kB / 0.9837 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.005013, allocations: 96.48 kB / 0.9837 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.005017, allocations: 4 kB / 0.9838 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.005022, allocations: 8.094 kB / 0.9838 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.005027, allocations: 3.984 kB / 0.9838 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.005142, allocations: 136.8 kB / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.005144, allocations: 0 / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.005191, allocations: 19.92 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005195, allocations: 4 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.005202, allocations: 0 / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.005204, allocations: 4 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.005208, allocations: 7.875 kB / 0.9839 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.005332, allocations: 120.5 kB / 0.984 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.005341, allocations: 15.94 kB / 0.9841 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.005354, allocations: 8 kB / 0.9841 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.628e-05/0.00538, allocations: 0 / 0.9841 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.005401, allocations: 15.92 kB / 0.9841 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.005405, allocations: 0 / 0.9841 GB, free: 14.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.005429, allocations: 79.28 kB / 0.9842 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.005429, allocations: 96 / 0.9842 GB, free: 14.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002467/0.005675, allocations: 15.88 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.0003727/0.006048, allocations: 0.6509 MB / 0.9848 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.006152, allocations: 47.86 kB / 0.9849 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006153, allocations: 0 / 0.9849 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.006185, 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.0001732/0.006358, allocations: 8 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.0003785/0.006737, allocations: 174 kB / 0.985 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.006784, allocations: 67.83 kB / 0.9851 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.006825, allocations: 8 kB / 0.9851 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.006862, allocations: 12.5 kB / 0.9851 GB, free: 13.79 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/0.006862, allocations: 0 / 0.9851 GB, free: 13.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.0215, allocations: 2.063 MB / 0.9871 GB, free: 11.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/6.96, allocations: 2.344 kB / 0.9872 GB, free: 11.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/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.953772969543934]