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.001862/0.001862, 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.002296/0.002296, allocations: 216.7 kB / 22.25 MB, free: 4.852 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.524/1.524, 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 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.789/2.789, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_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.002184/0.002184, allocations: 67.36 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3387, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001985/0.3407, allocations: 0.6013 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003412/0.341, allocations: 59.72 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.341, allocations: 4 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3411, allocations: 3.938 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-06/0.3411, allocations: 4 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3414, allocations: 15.98 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.3415, allocations: 15.97 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.3415, allocations: 0 / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.3415, allocations: 4 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.3416, allocations: 11.92 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3416, allocations: 3.938 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.3417, allocations: 12 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.3417, allocations: 11.97 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.3417, allocations: 8 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3419, allocations: 21.61 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3419, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3419, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3419, allocations: 0 / 1.283 GB, free: 11.57 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.0004615/0.3423, allocations: 252 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3424, allocations: 12.03 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.3424, allocations: 34.73 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.3425, allocations: 0.9375 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3426, allocations: 114.6 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3426, allocations: 4.375 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3426, allocations: 384 / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3428, allocations: 74.48 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3428, allocations: 3.938 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3428, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3428, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.3429, allocations: 15.92 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.3431, allocations: 156.3 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3433, allocations: 97 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3433, allocations: 36.36 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.3435, allocations: 7.984 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.3435, allocations: 42.5 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3435, allocations: 0 / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002344/0.3438, allocations: 69.5 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.3439, allocations: 170.1 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3441, allocations: 90.48 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3441, allocations: 29.64 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.3441, allocations: 88.08 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3442, allocations: 15.84 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3442, allocations: 21.7 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3444, allocations: 310.8 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.3444, allocations: 8 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.3445, allocations: 36.28 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3446, allocations: 48.23 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3446, allocations: 4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.3447, allocations: 61.69 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3447, allocations: 6.188 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3447, allocations: 11.94 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3447, allocations: 3.984 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3448, allocations: 8 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3448, allocations: 4 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.3449, allocations: 3.953 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3449, allocations: 12.14 kB / 1.285 GB, free: 9.438 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 0.0001111/0.345, allocations: 121.8 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.345, allocations: 0 / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3452, allocations: 96.48 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3452, allocations: 4 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3452, allocations: 8.141 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3452, allocations: 4 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3454, allocations: 124.8 kB / 1.285 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3454, allocations: 0 / 1.285 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3456, allocations: 19.98 kB / 1.285 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3456, allocations: 0 / 1.285 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3456, allocations: 11.94 kB / 1.285 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3456, allocations: 0 / 1.285 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3456, allocations: 3.938 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.3458, allocations: 124.4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.3458, allocations: 11.94 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3458, allocations: 11.94 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.3458, allocations: 4 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.3458, allocations: 11.92 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3459, allocations: 4 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.3459, allocations: 77.09 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3459, allocations: 96 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002322/0.3461, allocations: 11.94 kB / 1.286 GB, free: 8.715 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.0005559/0.3467, allocations: 0.6664 MB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3468, allocations: 35.92 kB / 1.286 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3468, allocations: 4 kB / 1.286 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.3469, allocations: 23.92 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.347, allocations: 8 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3475, allocations: 173.9 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.3476, allocations: 71.91 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.3476, allocations: 12 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3477, allocations: 11.44 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3477, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3801, allocations: 1.912 MB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 9.172 kB / 1.289 GB, free: 5.809 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.60364271234721]