Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001303/0.001303, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 71.16 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3758, allocations: 157.4 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002475/0.3784, allocations: 0.8234 MB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3795, allocations: 0.8428 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.3796, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.3797, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.3798, allocations: 3.938 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.38, allocations: 31.95 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3801, allocations: 67.84 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3803, allocations: 27.84 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3804, allocations: 27.86 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.3805, allocations: 47.81 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3805, allocations: 4 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.3805, allocations: 8 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.3806, allocations: 15.98 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3806, allocations: 31.8 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3808, allocations: 75.73 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3808, allocations: 4 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3808, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3808, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006356/0.3815, allocations: 373 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3815, allocations: 12.03 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3816, allocations: 8.844 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.3818, allocations: 180.2 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3818, allocations: 4.375 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3818, allocations: 4.375 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3821, allocations: 86.14 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3821, allocations: 192 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3821, allocations: 11.94 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3821, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.3824, allocations: 67.92 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.3829, allocations: 336.5 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3831, allocations: 86.47 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3833, allocations: 36.94 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3833, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3833, allocations: 46.55 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3834, allocations: 3.938 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004828/0.3838, allocations: 129.6 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3839, allocations: 51.41 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.384, allocations: 126.1 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.384, allocations: 25.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.3841, allocations: 100 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3842, allocations: 19.64 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.3842, allocations: 17.72 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3844, allocations: 326.8 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3845, allocations: 31.97 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3846, allocations: 24.09 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3848, allocations: 80.69 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3848, allocations: 3.984 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000279/0.3851, allocations: 93.66 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3852, allocations: 8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3852, allocations: 3.984 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3852, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3853, allocations: 15.98 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.3855, allocations: 15.89 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3855, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001201/0.3856, allocations: 121.7 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.3856, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.3857, allocations: 8.375 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3857, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3857, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3857, allocations: 7.984 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3859, allocations: 197.6 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.386, allocations: 448 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3861, allocations: 15.98 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3861, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3861, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3861, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3861, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3865, allocations: 211.3 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3865, allocations: 84.95 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3865, allocations: 8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3867, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.3867, allocations: 19.92 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.3868, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.3868, allocations: 99.31 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3868, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002343/0.3871, allocations: 15.94 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002021/0.3873, allocations: 103.2 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.3876, allocations: 79.81 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3876, allocations: 3.938 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3878, allocations: 39.97 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3881, allocations: 4 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.3886, allocations: 197.5 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3889, allocations: 0.6885 MB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.263e-05/0.389, allocations: 8 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.389, allocations: 15.42 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.389, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of Templates: time 0.003954/0.393, allocations: 1.142 MB / 1.059 GB, free: 1.008 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches