Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001541/0.001541, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 188 kB / 16.66 MB, free: 6.59 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.399/1.399, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.933/2.933, allocations: 469.8 MB / 0.7425 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.11 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001902/0.3679, allocations: 0.7691 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.3688, allocations: 0.8389 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.3689, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.3689, allocations: 11.92 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.369, allocations: 7.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3691, allocations: 27.91 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3693, allocations: 67.89 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3694, allocations: 19.97 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.3695, allocations: 39.84 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.3695, allocations: 35.83 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3696, allocations: 8 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.3696, allocations: 8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.3696, allocations: 15.92 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.3696, allocations: 39.8 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3698, allocations: 75.62 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3698, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3698, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3698, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 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.0005741/0.3704, allocations: 379.1 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3704, allocations: 12.03 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.3704, allocations: 4.891 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3706, allocations: 184.3 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3706, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3706, allocations: 12.3 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3708, allocations: 82.2 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3708, allocations: 192 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3708, allocations: 3.938 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3709, allocations: 11.98 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.3711, allocations: 67.94 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.3715, allocations: 324.6 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3718, allocations: 82.53 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3719, allocations: 36.92 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3719, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3719, allocations: 38.56 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.3719, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004419/0.3724, allocations: 141.5 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3724, allocations: 51.41 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.3725, allocations: 121.9 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3725, allocations: 25.7 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.3726, allocations: 100.1 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.3726, allocations: 15.8 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.3727, allocations: 21.7 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3728, allocations: 322.8 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3729, allocations: 31.97 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.373, allocations: 27.97 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3732, allocations: 72.81 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3732, allocations: 0 / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002637/0.3735, allocations: 105.5 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3735, allocations: 8 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3735, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3735, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3736, allocations: 15.98 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3736, allocations: 4 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.3737, allocations: 8.422 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3737, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 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 8.559e-05/0.3738, allocations: 118.3 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3738, allocations: 15.88 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.3739, allocations: 8.375 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3739, allocations: 4 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3739, allocations: 4 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3739, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3741, allocations: 201.5 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3741, allocations: 0 / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3742, allocations: 19.92 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3742, allocations: 3.984 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3742, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3742, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3742, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.3745, allocations: 207.4 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.3745, allocations: 81.06 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3746, allocations: 8 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3747, allocations: 7.984 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.3747, allocations: 15.92 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3747, allocations: 0 / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.3748, allocations: 95.7 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3748, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000221/0.375, allocations: 19.94 kB / 1.226 GB, free: 8.398 MB / 0.9825 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.0001489/0.3752, allocations: 107.2 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3754, allocations: 67.89 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3754, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3756, allocations: 47.89 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3759, allocations: 14.05 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.3763, allocations: 169.2 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3766, allocations: 0.6885 MB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.3766, allocations: 8 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3767, allocations: 19.42 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3767, allocations: 0 / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of Templates: time 0.003443/0.3801, allocations: 1.244 MB / 1.228 GB, free: 5.996 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches