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.000929/0.0009293, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00698/0.00698, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.565/2.565, allocations: 390.9 MB / 0.6663 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003605, allocations: 15.98 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.897, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.000776/0.8978, allocations: 338 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.8981, allocations: 62.09 kB / 0.9554 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.224e-05/0.8981, allocations: 9.094 kB / 0.9554 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.8981, allocations: 0 / 0.9554 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.8982, allocations: 0 / 0.9554 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.8984, allocations: 19.88 kB / 0.9555 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.8985, allocations: 5.688 kB / 0.9555 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.8985, allocations: 5.109 kB / 0.9555 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.8985, allocations: 7.469 kB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.8986, allocations: 7.25 kB / 0.9555 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.8986, allocations: 4.984 kB / 0.9555 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.8987, allocations: 15.14 kB / 0.9555 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.8987, allocations: 5.094 kB / 0.9555 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.8987, allocations: 31.66 kB / 0.9555 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.901e-05/0.8988, allocations: 30.16 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8988, allocations: 0 / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8988, allocations: 1.312 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.8989, allocations: 0 / 0.9556 GB, free: 7.277 MB / 0.7169 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.0002821/0.8991, allocations: 317.4 kB / 0.9559 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8992, allocations: 9.312 kB / 0.9559 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.8992, allocations: 9.906 kB / 0.9559 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.63e-05/0.8993, allocations: 168.4 kB / 0.956 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8993, allocations: 1.5 kB / 0.956 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.8993, allocations: 2.969 kB / 0.9561 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.8994, allocations: 73.5 kB / 0.9561 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8995, allocations: 1.594 kB / 0.9561 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8995, allocations: 3.938 kB / 0.9561 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.8995, allocations: 5 kB / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.8995, allocations: 14.88 kB / 0.9561 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.8997, allocations: 176.9 kB / 0.9563 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.8997, allocations: 104.7 kB / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.8998, allocations: 29.77 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.8999, allocations: 84.31 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.9, allocations: 44.88 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.9, allocations: 0 / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001785/0.9002, allocations: 70.06 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.9002, allocations: 163.4 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.966e-05/0.9002, allocations: 90.48 kB / 0.9569 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.9003, allocations: 35.11 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.195e-05/0.9003, allocations: 84.08 kB / 0.957 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.9003, allocations: 14.25 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.9003, allocations: 15.22 kB / 0.957 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.9004, allocations: 312.1 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.9004, allocations: 6.172 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.9004, allocations: 42.73 kB / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.9005, allocations: 51.53 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9005, allocations: 1.156 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.719e-05/0.9006, allocations: 64.72 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9006, allocations: 6.188 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.9006, allocations: 1.344 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9007, allocations: 5.375 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.9007, allocations: 16.42 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.9007, allocations: 1.344 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.9008, allocations: 6.281 kB / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.9008, allocations: 2.406 kB / 0.9575 GB, free: 5.066 MB / 0.7169 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 5.16e-05/0.9008, allocations: 112.2 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.9009, allocations: 6.562 kB / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.9011, allocations: 101 kB / 0.9577 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9011, allocations: 7.031 kB / 0.9577 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.9011, allocations: 5.156 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9011, allocations: 1.469 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.9012, allocations: 165.9 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9012, allocations: 5.016 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.9012, allocations: 13.94 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.9013, allocations: 1.188 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9013, allocations: 5.906 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9013, allocations: 2.844 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9013, allocations: 1.438 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.9014, allocations: 128.7 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.9014, allocations: 83.45 kB / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.9015, allocations: 6.25 kB / 0.9581 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.9015, allocations: 5.438 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.9015, allocations: 16.64 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9015, allocations: 3.719 kB / 0.9582 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.316e-05/0.9015, allocations: 79.22 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9016, allocations: 96 / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002084/0.9018, allocations: 10.22 kB / 0.9582 GB, free: 4.324 MB / 0.7169 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.0001441/0.9019, allocations: 110.1 kB / 0.9583 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.902, allocations: 32.88 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.902, allocations: 0 / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.9021, allocations: 31.86 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.9023, allocations: 10.28 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.9025, allocations: 153 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.9026, allocations: 0.6834 MB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.9027, allocations: 8.156 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.9027, allocations: 12.03 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.9027, allocations: 0 / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.002605/0.9053, allocations: 0.547 MB / 0.9598 GB, free: 3.031 MB / 0.7169 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/jenkins/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