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.0007971/0.0007971, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008439/0.0008439, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8684/0.8684, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.976e-05, allocations: 5.656 kB / 0.9506 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001159/0.001179, allocations: 0.5956 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002033/0.001382, allocations: 59.78 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.001396, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.001409, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.001416, allocations: 3.938 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.001629, allocations: 27.91 kB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.001676, allocations: 19.86 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.001713, allocations: 4 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.001739, allocations: 4 kB / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.00178, allocations: 11.97 kB / 0.9513 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.001791, allocations: 0 / 0.9513 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.001851, allocations: 15.98 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.001863, allocations: 0 / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.001876, allocations: 3.938 kB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.001951, allocations: 27.89 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.001953, allocations: 4 kB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.084e-06/0.001955, allocations: 4 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.001959, allocations: 0 / 0.9513 GB, free: 2.672 MB / 0.9011 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.0002578/0.002217, allocations: 252.2 kB / 0.9516 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.002251, allocations: 8.031 kB / 0.9516 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.002276, allocations: 34.75 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.002296, allocations: 0.9375 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.432e-05/0.00235, allocations: 105.7 kB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.00236, allocations: 384 / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.002368, allocations: 8.375 kB / 0.9517 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.002471, allocations: 78.47 kB / 0.9518 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.002478, allocations: 192 / 0.9518 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.002486, allocations: 4.375 kB / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.002492, allocations: 4.125 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.002519, allocations: 11.94 kB / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.002643, allocations: 152.2 kB / 0.9519 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.002718, allocations: 97.11 kB / 0.952 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.002749, allocations: 32.34 kB / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.002901, allocations: 8 kB / 0.9521 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.002926, allocations: 46.5 kB / 0.9521 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.002926, allocations: 0 / 0.9521 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0002012/0.003128, allocations: 73.55 kB / 0.9522 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.003196, allocations: 158.2 kB / 0.9523 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.851e-05/0.003225, allocations: 93.86 kB / 0.9524 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.003238, allocations: 25.7 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.003258, allocations: 80.14 kB / 0.9525 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.003299, allocations: 25.06 kB / 0.9526 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.003327, allocations: 25.72 kB / 0.9526 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.003409, allocations: 310.8 kB / 0.9529 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.003429, allocations: 11.92 kB / 0.9529 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.003458, allocations: 36.23 kB / 0.9529 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.003513, allocations: 48.23 kB / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.003515, allocations: 0 / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.558e-05/0.003591, allocations: 69.55 kB / 0.953 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.003607, allocations: 4 kB / 0.953 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.003615, allocations: 3.938 kB / 0.953 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.003629, allocations: 4 kB / 0.953 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.0037, allocations: 8 kB / 0.9531 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.003708, allocations: 7.922 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.003728, allocations: 8 kB / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.003735, allocations: 0 / 0.9531 GB, free: 0.5508 MB / 0.9011 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 6.215e-05/0.003797, allocations: 113.9 kB / 0.9532 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.003806, allocations: 8 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.003953, allocations: 104.5 kB / 0.9533 GB, free: 324 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.003957, allocations: 4 kB / 0.9533 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.003965, allocations: 4.062 kB / 0.9533 GB, free: 316 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.00397, allocations: 4 kB / 0.9533 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.004071, allocations: 136.9 kB / 0.9534 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004072, allocations: 4 kB / 0.9534 GB, free: 128 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.00411, allocations: 15.94 kB / 0.9534 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.004114, allocations: 4 kB / 0.9534 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.004122, allocations: 3.984 kB / 0.9535 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.004125, allocations: 4 kB / 0.9535 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.004127, allocations: 3.938 kB / 0.9535 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.004242, allocations: 116.5 kB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.004249, allocations: 7.953 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.004259, allocations: 3.938 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.004277, allocations: 12 kB / 0.9536 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.004295, allocations: 7.938 kB / 0.9536 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.0043, allocations: 3.984 kB / 0.9536 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.364e-05/0.004324, allocations: 79.28 kB / 0.9537 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004324, allocations: 3.938 kB / 0.9537 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001497/0.004473, allocations: 11.94 kB / 0.9537 GB, free: 15.82 MB / 0.9167 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.0003433/0.004817, allocations: 0.6471 MB / 0.9543 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.004927, allocations: 48.02 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.004929, allocations: 0 / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.004953, allocations: 23.94 kB / 0.9544 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.005083, allocations: 11.98 kB / 0.9544 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.005391, allocations: 172.6 kB / 0.9546 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.00543, allocations: 63.34 kB / 0.9546 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.005459, allocations: 12.42 kB / 0.9546 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.005489, allocations: 16.5 kB / 0.9547 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.005489, allocations: 0 / 0.9547 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.01905, allocations: 2.079 MB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.093, allocations: 1.875 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.93830914516002]