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.001357/0.001357, allocations: 116.1 kB / 17.17 MB, free: 6 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.001618/0.001618, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.068/3.068, allocations: 0.49 GB / 0.7923 GB, free: 1.516 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_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.002727/0.002727, allocations: 63.89 kB / 1.15 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.149, allocations: 176.1 MB / 1.322 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002017/1.151, allocations: 0.6 MB / 1.322 GB, free: 7.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/1.151, allocations: 64.56 kB / 1.322 GB, free: 7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/1.151, allocations: 0 / 1.322 GB, free: 7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/1.151, allocations: 3.938 kB / 1.322 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-06/1.151, allocations: 0 / 1.322 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/1.151, allocations: 24.38 kB / 1.322 GB, free: 6.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.041e-05/1.151, allocations: 9.406 kB / 1.322 GB, free: 6.977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/1.151, allocations: 9.453 kB / 1.322 GB, free: 6.969 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/1.151, allocations: 8.344 kB / 1.322 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/1.151, allocations: 11.3 kB / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/1.151, allocations: 1 kB / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/1.152, allocations: 14.39 kB / 1.322 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/1.152, allocations: 2.219 kB / 1.322 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/1.152, allocations: 13.02 kB / 1.322 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/1.152, allocations: 16.8 kB / 1.322 GB, free: 6.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.152, allocations: 0 / 1.322 GB, free: 6.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.745e-06/1.152, allocations: 1.406 kB / 1.322 GB, free: 6.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.152, allocations: 0 / 1.322 GB, free: 6.93 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.0005048/1.152, allocations: 327.7 kB / 1.323 GB, free: 6.566 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.152, allocations: 13.23 kB / 1.323 GB, free: 6.562 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.526e-05/1.152, allocations: 1.344 kB / 1.323 GB, free: 6.562 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/1.152, allocations: 35.88 kB / 1.323 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/1.152, allocations: 9.969 kB / 1.323 GB, free: 6.512 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.152, allocations: 164.4 kB / 1.323 GB, free: 6.312 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.153, allocations: 9.469 kB / 1.323 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.153, allocations: 6.844 kB / 1.323 GB, free: 6.301 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.153, allocations: 73.36 kB / 1.323 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.153, allocations: 1.188 kB / 1.323 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.153, allocations: 1.25 kB / 1.323 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.153, allocations: 0 / 1.323 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/1.153, allocations: 18.73 kB / 1.323 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/1.153, allocations: 185.9 kB / 1.323 GB, free: 5.965 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.153, allocations: 97.98 kB / 1.323 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/1.153, allocations: 33.05 kB / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.153, allocations: 87.53 kB / 1.323 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.153, allocations: 40.72 kB / 1.323 GB, free: 5.641 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/1.153, allocations: 0 / 1.323 GB, free: 5.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002282/1.154, allocations: 73.77 kB / 1.323 GB, free: 5.586 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.154, allocations: 164.5 kB / 1.324 GB, free: 5.391 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.934e-05/1.154, allocations: 89.86 kB / 1.324 GB, free: 5.293 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.154, allocations: 26.8 kB / 1.324 GB, free: 5.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/1.154, allocations: 80.14 kB / 1.324 GB, free: 5.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/1.154, allocations: 10.22 kB / 1.324 GB, free: 5.172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/1.154, allocations: 22.67 kB / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.154, allocations: 320 kB / 1.324 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/1.154, allocations: 2.281 kB / 1.324 GB, free: 4.828 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/1.154, allocations: 34.19 kB / 1.324 GB, free: 4.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/1.154, allocations: 52.83 kB / 1.324 GB, free: 4.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.154, allocations: 0 / 1.324 GB, free: 4.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001227/1.154, allocations: 68.97 kB / 1.324 GB, free: 4.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.154, allocations: 10.28 kB / 1.324 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.154, allocations: 1.594 kB / 1.324 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.154, allocations: 1.375 kB / 1.324 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/1.154, allocations: 11.78 kB / 1.324 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.154, allocations: 1.719 kB / 1.324 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/1.154, allocations: 1.344 kB / 1.324 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.155, allocations: 7.859 kB / 1.324 GB, free: 4.664 MB / 1.014 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.659e-05/1.155, allocations: 120.3 kB / 1.324 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/1.155, allocations: 5.156 kB / 1.324 GB, free: 4.535 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/1.155, allocations: 114.5 kB / 1.325 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.155, allocations: 1.188 kB / 1.325 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.155, allocations: 2.969 kB / 1.325 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.155, allocations: 1.344 kB / 1.325 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.155, allocations: 165.6 kB / 1.325 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.155, allocations: 1.094 kB / 1.325 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/1.155, allocations: 21.02 kB / 1.325 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/1.155, allocations: 13.62 kB / 1.325 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.155, allocations: 6.5 kB / 1.325 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.155, allocations: 1.594 kB / 1.325 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.155, allocations: 1.406 kB / 1.325 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/1.155, allocations: 121.6 kB / 1.325 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/1.155, allocations: 79.3 kB / 1.325 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/1.155, allocations: 10.25 kB / 1.325 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/1.155, allocations: 1.125 kB / 1.325 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/1.155, allocations: 8.266 kB / 1.325 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/1.155, allocations: 4.312 kB / 1.325 GB, free: 3.996 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.042e-05/1.155, allocations: 75.28 kB / 1.325 GB, free: 3.922 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.155, allocations: 0 / 1.325 GB, free: 3.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002213/1.156, allocations: 9.844 kB / 1.325 GB, free: 3.918 MB / 1.014 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.0006055/1.156, allocations: 0.6754 MB / 1.326 GB, free: 3.246 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.156, allocations: 31.7 kB / 1.326 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.156, allocations: 0 / 1.326 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/1.156, allocations: 27.05 kB / 1.326 GB, free: 3.223 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/1.157, allocations: 9.406 kB / 1.326 GB, free: 3.219 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/1.157, allocations: 177.6 kB / 1.326 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.157, allocations: 0.6805 MB / 1.327 GB, free: 2.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.18e-05/1.158, allocations: 16.58 kB / 1.327 GB, free: 2.312 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/1.158, allocations: 15.91 kB / 1.327 GB, free: 2.301 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.158, allocations: 0 / 1.327 GB, free: 2.301 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/1.176, allocations: 1.472 MB / 1.328 GB, free: 1.477 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/9.428, allocations: 6.094 kB / 1.328 GB, free: 1.473 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.275934601027984]