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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 219.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 68.42 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 169.9 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00233/0.352, allocations: 0.7516 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3533, allocations: 0.8588 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.3534, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.3534, allocations: 3.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3535, allocations: 19.86 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3537, allocations: 27.97 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3538, allocations: 75.77 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.354, allocations: 15.98 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3541, allocations: 31.91 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.3542, allocations: 39.83 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3542, allocations: 4 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.3542, allocations: 8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.3542, allocations: 19.92 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.3543, allocations: 27.86 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3544, allocations: 71.69 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3544, allocations: 4 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3544, allocations: 0 / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3544, allocations: 0 / 1.286 GB, free: 9.973 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.0006416/0.3551, allocations: 302 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3551, allocations: 8.031 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.3552, allocations: 8.891 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3553, allocations: 118.4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3553, allocations: 4.375 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3554, allocations: 8.375 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.3556, allocations: 82.14 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3556, allocations: 192 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3556, allocations: 15.92 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3556, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.3559, allocations: 67.89 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.3564, allocations: 252.4 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.3566, allocations: 86.53 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3568, allocations: 40.86 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3568, allocations: 4 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3568, allocations: 30.56 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 5.4e-06/0.3568, allocations: 3.984 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004744/0.3573, allocations: 133.6 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3574, allocations: 59.41 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3575, allocations: 125.7 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3575, allocations: 29.7 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.3576, allocations: 96.02 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3576, allocations: 19.86 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.3577, allocations: 21.7 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3578, allocations: 314.8 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.358, allocations: 35.91 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3581, allocations: 36.22 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3583, allocations: 72.75 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3583, allocations: 0 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002829/0.3586, allocations: 101.6 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3586, allocations: 9.828 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3586, allocations: 3.938 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3586, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3588, allocations: 19.92 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3588, allocations: 4 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.3589, allocations: 11.94 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3589, allocations: 0 / 1.288 GB, free: 7.715 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 0.0001007/0.359, allocations: 121.7 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.359, allocations: 7.953 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.359, allocations: 12.36 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.359, allocations: 4 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.359, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.359, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3592, allocations: 133.2 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3592, allocations: 8 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3593, allocations: 11.98 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3593, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3593, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.3594, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3594, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3597, allocations: 211.5 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.3597, allocations: 3.984 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3597, allocations: 4 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3598, allocations: 8 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.3599, allocations: 19.97 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3599, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.095e-05/0.36, allocations: 95.27 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.36, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000236/0.3602, allocations: 11.95 kB / 1.288 GB, free: 7.016 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.000139/0.3604, allocations: 99.25 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3607, allocations: 75.88 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3607, allocations: 3.938 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3608, allocations: 39.97 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3611, allocations: 11.03 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.3617, allocations: 191.2 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.415e-05/0.3617, allocations: 71.33 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3618, allocations: 19.44 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3618, allocations: 0 / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of Templates: time 0.002795/0.3646, allocations: 1.081 MB / 1.29 GB, free: 5.383 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.968326350208372]