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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.33 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2645, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001658/0.2662, allocations: 0.601 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002374/0.2665, allocations: 67.75 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.2665, allocations: 0 / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.2665, allocations: 0 / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.2665, allocations: 0 / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.2667, allocations: 23.92 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.2668, allocations: 11.98 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.2668, allocations: 0 / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.2669, allocations: 11.98 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.2669, allocations: 7.938 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.2669, allocations: 0 / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.267, allocations: 19.98 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.267, allocations: 3.984 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.267, allocations: 7.938 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.153e-05/0.2671, allocations: 15.97 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2671, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2671, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2671, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 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.0003402/0.2675, allocations: 323.6 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2675, allocations: 8.031 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2676, allocations: 34.73 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.2676, allocations: 4.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.2677, allocations: 164.3 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.2677, allocations: 384 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2677, allocations: 8.375 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2678, allocations: 66.55 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2679, allocations: 11.88 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2679, allocations: 3.984 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2679, allocations: 3.938 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.2679, allocations: 11.94 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2681, allocations: 185.4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.2682, allocations: 93.08 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.2683, allocations: 46.12 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.2684, allocations: 81.11 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2685, allocations: 38.56 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2685, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001792/0.2687, allocations: 81.33 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.2687, allocations: 154.2 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.2688, allocations: 89.86 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2688, allocations: 33.7 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2688, allocations: 80.77 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2689, allocations: 19.78 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2689, allocations: 17.72 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.269, allocations: 310.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.2691, allocations: 7.984 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.2691, allocations: 36.3 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.2692, allocations: 52.22 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2692, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.2693, allocations: 65.56 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2693, allocations: 4 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2693, allocations: 12.09 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2693, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.2694, allocations: 11.98 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2694, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.2695, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2695, allocations: 128 / 1.067 GB, free: 11 MB / 0.8262 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 7.035e-05/0.2696, allocations: 113.8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2696, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.2698, allocations: 116.4 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2698, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2698, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2698, allocations: 3.984 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2699, allocations: 157.8 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2699, allocations: 8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.27, allocations: 23.86 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.27, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.27, allocations: 7.938 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.27, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.27, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.2702, allocations: 128.4 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.2702, allocations: 85.02 kB / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2702, allocations: 3.938 kB / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.2703, allocations: 8 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.2703, allocations: 7.984 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2703, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.2704, allocations: 87.22 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2704, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001946/0.2706, allocations: 8 kB / 1.068 GB, free: 10.13 MB / 0.8262 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.0004426/0.271, allocations: 0.6587 MB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.2711, allocations: 31.92 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2711, allocations: 7.938 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.2712, allocations: 27.92 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2713, allocations: 4.625 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.2717, allocations: 178 kB / 1.068 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.272, allocations: 0.6859 MB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.272, allocations: 12 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.272, allocations: 11.44 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.272, allocations: 0 / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.757/2.029, allocations: 1.404 MB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/16.41, allocations: 13.56 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB (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 --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) 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) "" Variables in the reference:time,ym2,ym1,y,y1,y2 Variables in the result:time,y,y1,y2,ym1,ym2