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.001337/0.001337, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001391/0.001391, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.789 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.366/3.366, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.002105/0.002105, allocations: 71.92 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4212, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001999/0.4232, allocations: 0.6013 MB / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.4235, allocations: 68.12 kB / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.4235, allocations: 0 / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.4235, allocations: 0 / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.4235, allocations: 7.938 kB / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.4238, allocations: 23.92 kB / 1.326 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.4239, allocations: 12 kB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.4239, allocations: 3.984 kB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.4239, allocations: 7.984 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.424, allocations: 4 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.424, allocations: 3.938 kB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.4241, allocations: 15.98 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.4241, allocations: 0 / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.4241, allocations: 7.984 kB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.4242, allocations: 28.12 kB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4242, allocations: 0 / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4242, allocations: 4 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4242, allocations: 0 / 1.326 GB, free: 1.508 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.0004241/0.4247, allocations: 247.4 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4247, allocations: 8.031 kB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.4248, allocations: 38.69 kB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.4248, allocations: 0.9375 kB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.4249, allocations: 106.5 kB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4249, allocations: 4.375 kB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.4249, allocations: 4.375 kB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4251, allocations: 70.53 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4251, allocations: 11.88 kB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4251, allocations: 4 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4251, allocations: 0 / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.4251, allocations: 15.94 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.4254, allocations: 148.2 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4255, allocations: 97.17 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.4255, allocations: 36.28 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.4257, allocations: 8 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4257, allocations: 38.56 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4257, allocations: 0 / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002241/0.4259, allocations: 81.42 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.426, allocations: 158.2 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.4261, allocations: 89.86 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4261, allocations: 25.7 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.4262, allocations: 80.77 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4262, allocations: 31.75 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.4263, allocations: 17.72 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4264, allocations: 314.8 kB / 1.327 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.4264, allocations: 7.984 kB / 1.327 GB, free: 15.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.4265, allocations: 32.23 kB / 1.327 GB, free: 15.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.4265, allocations: 60.16 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4266, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.4267, allocations: 65.58 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4267, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4267, allocations: 7.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4267, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.4268, allocations: 15.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4268, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.4268, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.4268, allocations: 4 kB / 1.328 GB, free: 15.38 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 8.915e-05/0.4269, allocations: 114.5 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.4269, allocations: 7.984 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.4271, allocations: 104.6 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4272, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4272, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4272, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.4273, allocations: 140.9 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4273, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.4274, allocations: 19.92 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4274, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4274, allocations: 7.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4274, allocations: 4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4274, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.4276, allocations: 116.5 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.4276, allocations: 15.92 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4276, allocations: 3.938 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.4276, allocations: 8 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4276, allocations: 11.92 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4276, allocations: 8 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.4277, allocations: 75.28 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4277, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002028/0.4279, allocations: 4.094 kB / 1.328 GB, free: 14.65 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.0005474/0.4284, allocations: 0.6625 MB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4286, allocations: 36.05 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4286, allocations: 7.875 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.4286, allocations: 27.92 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.4288, allocations: 8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.4292, allocations: 177.9 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.4293, allocations: 67.28 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.4293, allocations: 16.48 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.4294, allocations: 15.44 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.4294, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.4597, allocations: 1.921 MB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.54, allocations: 3.938 kB / 1.331 GB, free: 11.73 MB / 1.029 GB " [Timeout remaining time 288] (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.766829775180668]