Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001493, allocations: 108.6 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001718, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9334, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001606/0.935, allocations: 0.5915 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.9353, allocations: 67.61 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.9353, allocations: 1.156 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.9353, allocations: 0 / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-06/0.9353, allocations: 7.938 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.9356, allocations: 20.14 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.9357, allocations: 11.83 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.9357, allocations: 7.031 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.9357, allocations: 7.75 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.9358, allocations: 9.938 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.9358, allocations: 0 / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.801e-05/0.9359, allocations: 15.38 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.9359, allocations: 1.844 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.9359, allocations: 10.95 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.936, allocations: 28.25 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.936, allocations: 0 / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.936, allocations: 3.938 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.936, allocations: 0.9375 kB / 1.089 GB, free: 5.031 MB / 0.8575 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.0002832/0.9363, allocations: 325 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.9364, allocations: 9.625 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.9364, allocations: 2.031 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.741e-05/0.9365, allocations: 161.8 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9365, allocations: 5.5 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.9365, allocations: 2.531 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.9366, allocations: 76.41 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.9366, allocations: 192 / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.9366, allocations: 4.688 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9366, allocations: 1.656 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.9367, allocations: 12.27 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.9368, allocations: 181.3 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.9369, allocations: 103.3 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.9369, allocations: 35.61 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.9371, allocations: 82.7 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.9371, allocations: 41.3 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.9371, allocations: 1.156 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.9373, allocations: 74.92 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.9373, allocations: 156.4 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.596e-05/0.9374, allocations: 89.86 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.9374, allocations: 27.45 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.9374, allocations: 88.8 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.9374, allocations: 19.97 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.9375, allocations: 19.64 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.9375, allocations: 311.5 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.9375, allocations: 5.516 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.9376, allocations: 39.19 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.9376, allocations: 50 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9376, allocations: 1.094 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.997e-05/0.9377, allocations: 63.11 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9377, allocations: 9.469 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.9377, allocations: 5.344 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9378, allocations: 10.73 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.9378, allocations: 13.36 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9378, allocations: 2.156 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.9379, allocations: 1.828 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.9379, allocations: 3.281 kB / 1.091 GB, free: 2.875 MB / 0.8575 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 4.649e-05/0.9379, allocations: 113.3 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.938, allocations: 6.875 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.9382, allocations: 109.8 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9382, allocations: 3.344 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9382, allocations: 1.344 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9382, allocations: 1.594 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.778e-05/0.9383, allocations: 175.2 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9383, allocations: 1.938 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.9383, allocations: 15.69 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9384, allocations: 0.7812 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.9384, allocations: 7.625 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.9384, allocations: 2.094 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9384, allocations: 1.344 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.9385, allocations: 122.3 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.9385, allocations: 85.38 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.9385, allocations: 6.797 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-05/0.9386, allocations: 5.156 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.9386, allocations: 11.27 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.9386, allocations: 3.969 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.061e-05/0.9386, allocations: 79.28 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9386, allocations: 0 / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002116/0.9388, allocations: 6.891 kB / 1.092 GB, free: 2.168 MB / 0.8575 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.0001262/0.939, allocations: 105.3 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.9391, allocations: 36.05 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9391, allocations: 1.469 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.9391, allocations: 31.3 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.9393, allocations: 11.12 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.9395, allocations: 171.7 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.9396, allocations: 0.6806 MB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.9397, allocations: 16.73 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.9397, allocations: 3.938 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.002144/0.9418, allocations: 0.6854 MB / 1.094 GB, free: 1.094 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches