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.001701/0.001701, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002228/0.002228, allocations: 219.8 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.357/3.357, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 71.17 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4283, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002428/0.4307, allocations: 0.6009 MB / 1.326 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003414/0.4311, allocations: 60.2 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.4311, allocations: 0 / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.4311, allocations: 3.938 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-06/0.4311, allocations: 0 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4314, allocations: 27.91 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.4315, allocations: 15.94 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.4315, allocations: 4 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.4315, allocations: 7.984 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.4316, allocations: 11.92 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4316, allocations: 0 / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.4317, allocations: 15.98 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.4317, allocations: 0 / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.4317, allocations: 4 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.4318, allocations: 28.11 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4318, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4318, allocations: 3.938 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4319, allocations: 0 / 1.327 GB, free: 0.6758 MB / 1.014 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.0004318/0.4323, allocations: 254.4 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4323, allocations: 8.031 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.4324, allocations: 30.75 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.4324, allocations: 8.938 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4325, allocations: 102.5 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4325, allocations: 384 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4325, allocations: 4.375 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4327, allocations: 74.47 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4327, allocations: 3.938 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4327, allocations: 4 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4327, allocations: 8 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.4327, allocations: 7.938 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.433, allocations: 156.4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4331, allocations: 92.95 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.4332, allocations: 40.47 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.4333, allocations: 8 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.4334, allocations: 38.5 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4334, allocations: 0 / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.000229/0.4336, allocations: 81.3 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4337, allocations: 154.2 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.4338, allocations: 89.86 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4338, allocations: 29.7 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.4338, allocations: 80.14 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.4339, allocations: 19.83 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.4339, allocations: 13.72 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4341, allocations: 318.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.4341, allocations: 12.55 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.4342, allocations: 40.23 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.4342, allocations: 44.23 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4342, allocations: 4 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001211/0.4344, allocations: 65.55 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4344, allocations: 8.094 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4344, allocations: 4 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4344, allocations: 7.938 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.4345, allocations: 8 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4345, allocations: 3.984 kB / 1.328 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.4345, allocations: 11.95 kB / 1.328 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.4346, allocations: 0 / 1.328 GB, free: 14.55 MB / 1.029 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 0.0001044/0.4347, allocations: 110.4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.4347, allocations: 7.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.4349, allocations: 104.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4349, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4349, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4349, allocations: 128 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.4351, allocations: 140.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4351, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.4352, allocations: 12 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4352, allocations: 4.094 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4352, allocations: 11.98 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4352, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4352, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.4354, allocations: 124.5 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.4354, allocations: 3.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4354, allocations: 11.92 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.4354, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.4355, allocations: 11.94 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4355, allocations: 11.97 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.4355, allocations: 75.28 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4355, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002291/0.4357, allocations: 8 kB / 1.329 GB, free: 13.82 MB / 1.029 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.0006407/0.4364, allocations: 0.6627 MB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.4365, allocations: 43.8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4365, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.4366, allocations: 20.5 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.4368, allocations: 16.05 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.4373, allocations: 181.8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.4374, allocations: 67.28 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.4374, allocations: 7.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.4375, allocations: 19.44 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4375, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.469, allocations: 1.954 MB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.38, allocations: 9.453 kB / 1.332 GB, free: 10.85 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.525494565983536]