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.00174/0.00174, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.002036/0.002036, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.367/1.367, 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 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 67.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8496, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002286/0.8519, allocations: 0.7658 MB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.8532, allocations: 0.8414 MB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.8533, allocations: 4 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.8533, allocations: 11.86 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.8535, allocations: 3.938 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.8537, allocations: 31.95 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.8538, allocations: 75.77 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.854, allocations: 23.98 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.8541, allocations: 31.86 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.8542, allocations: 43.81 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.8542, allocations: 8 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.8543, allocations: 4 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.8543, allocations: 15.98 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.8543, allocations: 31.8 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.8545, allocations: 75.69 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8545, allocations: 0 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8545, allocations: 4 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.8545, allocations: 0 / 1.169 GB, free: 1.848 MB / 0.8887 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.0006242/0.8552, allocations: 375.1 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8552, allocations: 8.625 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.8553, allocations: 8.844 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.8555, allocations: 178 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.8555, allocations: 8.375 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.8555, allocations: 4.375 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.8558, allocations: 86.14 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8558, allocations: 4.188 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8559, allocations: 3.938 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8559, allocations: 3.938 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.8561, allocations: 71.88 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.8567, allocations: 316.7 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.857, allocations: 98.5 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.8571, allocations: 40.83 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.8571, allocations: 4 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.8572, allocations: 34.56 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.8572, allocations: 0 / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0004877/0.8577, allocations: 137.5 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.8577, allocations: 51.41 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.8578, allocations: 121.8 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.8578, allocations: 25.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.8579, allocations: 100.1 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.8579, allocations: 11.89 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.858, allocations: 25.7 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8581, allocations: 326.9 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.8582, allocations: 31.92 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.8584, allocations: 31.97 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.8586, allocations: 64.81 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8586, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002858/0.8589, allocations: 113.5 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8589, allocations: 4 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8589, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.859, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.8591, allocations: 23.91 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.8591, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.8592, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8593, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 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.000111/0.8594, allocations: 125.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.8594, allocations: 7.906 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.8595, allocations: 8.375 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8595, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8595, allocations: 448 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8595, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.8597, allocations: 193.6 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.8597, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.8598, allocations: 19.97 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8599, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.8599, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8599, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8599, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.8602, allocations: 203.4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.8603, allocations: 89.02 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8603, allocations: 3.984 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.8604, allocations: 8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.8605, allocations: 11.98 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8605, allocations: 7.922 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.8606, allocations: 99.27 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.607e-06/0.8606, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002356/0.8609, allocations: 11.94 kB / 1.172 GB, free: 14.47 MB / 0.9044 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.0001669/0.861, allocations: 99.25 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.8614, allocations: 83.81 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.8614, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.8615, allocations: 39.97 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.8619, allocations: 6.812 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.8625, allocations: 203.1 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8629, allocations: 0.6962 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.863, allocations: 15.42 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.863, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.002842/0.8658, allocations: 1.053 MB / 1.174 GB, free: 12.22 MB / 0.9044 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/jenkins1/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