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.001002/0.001002, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001472/0.001472, allocations: 174.5 kB / 16.27 MB, free: 6.66 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003671, allocations: 12.88 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001074/0.3608, allocations: 488.2 kB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.3618, allocations: 0.8468 MB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.3619, allocations: 4 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.3619, allocations: 3.938 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.362, allocations: 3.984 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.3621, allocations: 31.91 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.3622, allocations: 63.89 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3624, allocations: 19.86 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.3624, allocations: 27.86 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3625, allocations: 39.81 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3626, allocations: 4 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.3626, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.3626, allocations: 11.98 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.3627, allocations: 49.5 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3628, allocations: 67.73 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3628, allocations: 0 / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3628, allocations: 0 / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3628, allocations: 0 / 1.06 GB, free: 3.797 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.0005594/0.3634, allocations: 375.5 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3634, allocations: 12.03 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3635, allocations: 8.844 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3636, allocations: 176.2 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3637, allocations: 384 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3637, allocations: 8.375 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3639, allocations: 94.14 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.364, allocations: 192 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.364, allocations: 3.938 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.364, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3642, allocations: 83.88 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.3647, allocations: 332.6 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.365, allocations: 90.53 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3652, allocations: 44.88 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3652, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.3652, allocations: 30.56 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.3652, allocations: 4 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004851/0.3657, allocations: 149.5 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3658, allocations: 55.41 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.3659, allocations: 129.7 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3659, allocations: 37.64 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3659, allocations: 84.14 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.366, allocations: 27.64 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.366, allocations: 9.719 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3661, allocations: 322.8 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3663, allocations: 39.91 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3664, allocations: 39.97 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.3666, allocations: 76.81 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.3666, allocations: 4.109 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002839/0.3669, allocations: 117.5 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3669, allocations: 4 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3669, allocations: 448 / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.367, allocations: 0 / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3671, allocations: 27.92 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3671, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.3672, allocations: 11.98 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3673, allocations: 8 kB / 1.063 GB, free: 1.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 7.95e-05/0.3673, allocations: 115.3 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3674, allocations: 3.906 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.3674, allocations: 16.36 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3674, allocations: 4 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3674, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3674, allocations: 3.984 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3676, allocations: 197.5 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3676, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3678, allocations: 19.98 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3678, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3678, allocations: 3.984 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3678, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3678, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3681, allocations: 219.3 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3682, allocations: 85.11 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3682, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3683, allocations: 15.98 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.3684, allocations: 11.98 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.3684, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.3685, allocations: 95.27 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3685, allocations: 0 / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002297/0.3687, allocations: 19.84 kB / 1.063 GB, free: 328 kB / 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.0001876/0.3689, allocations: 103.2 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3693, allocations: 87.83 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3693, allocations: 0 / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3694, allocations: 55.83 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3697, allocations: 12 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.3703, allocations: 181.2 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3705, allocations: 0.6926 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.708e-05/0.3706, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.3707, allocations: 15.42 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of SimCode: time 8.12e-07/0.3707, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.003599/0.3743, allocations: 1.073 MB / 1.066 GB, free: 14.05 MB / 0.8262 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