Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001014/0.001014, 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.009174/0.009174, allocations: 171.4 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.428/1.428, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003827, allocations: 12 kB / 0.8728 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6995, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.0009463/0.7005, allocations: 493.8 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.7015, allocations: 0.8389 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.7015, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.7015, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.7016, allocations: 7.922 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.7018, allocations: 27.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.7019, allocations: 71.83 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.702, allocations: 19.98 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.7021, allocations: 31.83 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.7022, allocations: 27.84 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.7022, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.7023, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.7023, allocations: 11.98 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.7023, allocations: 57.5 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.7024, allocations: 63.73 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7025, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7025, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.7025, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 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.0005619/0.703, allocations: 369.3 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7031, allocations: 12.03 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.7031, allocations: 8.844 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.7033, allocations: 188.1 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.7033, allocations: 4.375 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.7034, allocations: 4.375 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.7036, allocations: 94.12 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7036, allocations: 192 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7037, allocations: 3.938 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7037, allocations: 8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.7039, allocations: 75.94 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.7044, allocations: 324.6 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.7047, allocations: 94.53 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.7048, allocations: 44.94 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.7048, allocations: 11.92 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.7049, allocations: 34.5 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.7049, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005054/0.7054, allocations: 149.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7054, allocations: 51.41 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.7055, allocations: 121.8 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.7056, allocations: 25.7 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.7056, allocations: 96.08 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.7057, allocations: 15.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.7057, allocations: 17.72 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7059, allocations: 326.8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.706, allocations: 27.98 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.7061, allocations: 39.97 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.7064, allocations: 80.75 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7064, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003163/0.7067, allocations: 117.5 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7067, allocations: 5.828 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7067, allocations: 7.938 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.7068, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.7069, allocations: 15.98 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.7069, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.707, allocations: 11.98 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.707, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 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.0001035/0.7072, allocations: 134.2 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.7072, allocations: 7.906 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.7072, allocations: 8.375 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7072, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7072, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7072, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.7074, allocations: 197.5 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7075, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.7076, allocations: 24.41 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7076, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.7076, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7076, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7076, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.708, allocations: 219.3 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.708, allocations: 77.11 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.7081, allocations: 4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.7082, allocations: 11.98 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.7082, allocations: 11.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.7083, allocations: 7.984 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.7083, allocations: 99.64 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7083, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.7086, allocations: 12 kB / 1.028 GB, free: 10.71 MB / 0.7794 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.000147/0.7087, allocations: 99.25 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7091, allocations: 91.88 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7091, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.7092, allocations: 47.91 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.7095, allocations: 4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.71, allocations: 192.8 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.7102, allocations: 0.6887 MB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.7103, allocations: 8 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.7103, allocations: 15.42 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7103, allocations: 0 / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.003295/0.7136, allocations: 1.075 MB / 1.03 GB, free: 8.449 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches