Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001297/0.001297, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00139/0.00139, allocations: 217.1 kB / 23.03 MB, free: 4.922 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="cs",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.002181/0.002181, allocations: 63.8 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4226, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00304/0.4256, allocations: 0.6051 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000393/0.426, allocations: 63.72 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.4261, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.4261, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.109e-05/0.4261, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.4264, allocations: 23.92 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.4265, allocations: 11.98 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.4266, allocations: 0 / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.4266, allocations: 11.98 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.4267, allocations: 15.92 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.4267, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.4268, allocations: 8 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.4268, allocations: 7.984 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.4268, allocations: 8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.427, allocations: 19.42 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.427, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.635e-06/0.427, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.427, allocations: 4 kB / 1.285 GB, free: 9.898 MB / 0.9825 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.0004847/0.4275, allocations: 252 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.4275, allocations: 8.031 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.201e-05/0.4275, allocations: 8.125 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.4276, allocations: 38.73 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4276, allocations: 0.9375 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4278, allocations: 106.5 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4278, allocations: 4.375 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4278, allocations: 384 / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.428, allocations: 86.23 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.428, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.428, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.428, allocations: 4 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.428, allocations: 15.92 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.4283, allocations: 152.3 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4284, allocations: 97 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.4285, allocations: 32.36 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.4286, allocations: 7.984 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.4287, allocations: 42.44 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.4287, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002397/0.4289, allocations: 73.66 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.429, allocations: 166.1 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.4291, allocations: 89.86 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4291, allocations: 25.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.4292, allocations: 80.14 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.4292, allocations: 27.77 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.4293, allocations: 21.7 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4294, allocations: 310.8 kB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.4294, allocations: 4.531 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.4295, allocations: 44.22 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.4295, allocations: 48.23 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4295, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.4297, allocations: 61.62 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4297, allocations: 7.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4297, allocations: 8.156 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.4297, allocations: 3.984 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.4298, allocations: 15.92 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4298, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.4298, allocations: 3.953 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4298, allocations: 4 kB / 1.287 GB, free: 7.758 MB / 0.9825 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 8.582e-05/0.4299, allocations: 109.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.43, allocations: 11.92 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.4302, allocations: 96.67 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4302, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4302, allocations: 7.922 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4302, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4303, allocations: 128.8 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4303, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.4304, allocations: 19.98 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.4304, allocations: 4.094 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4304, allocations: 8 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4304, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4304, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4306, allocations: 128.4 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.4306, allocations: 7.938 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.4306, allocations: 3.938 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.4307, allocations: 8 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.4307, allocations: 12.02 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4307, allocations: 7.938 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.4307, allocations: 77.06 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4307, allocations: 4 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002028/0.4309, allocations: 7.938 kB / 1.287 GB, free: 7.035 MB / 0.9825 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.0005468/0.4315, allocations: 0.6626 MB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.4316, allocations: 35.86 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4316, allocations: 0 / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.4316, allocations: 28.48 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.4318, allocations: 8.062 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.4323, allocations: 179.2 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.4324, allocations: 71.34 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.4324, allocations: 8 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.4324, allocations: 19.44 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.4324, allocations: 3.938 kB / 1.288 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.4551, allocations: 1.59 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 6.562 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.816112431930378]