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.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.002322/0.002322, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002423/0.002423, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00215/0.00215, allocations: 75.12 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002449/0.3457, allocations: 0.7488 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.347, allocations: 0.8631 MB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.3471, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.3471, allocations: 7.875 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.3472, allocations: 7.875 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3474, allocations: 35.89 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3475, allocations: 75.83 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3476, allocations: 11.98 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.3477, allocations: 27.92 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.3478, allocations: 39.81 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3478, allocations: 8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.3478, allocations: 8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.3479, allocations: 15.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.3479, allocations: 27.86 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3481, allocations: 75.62 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3481, allocations: 0 / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3481, allocations: 4 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3481, allocations: 0 / 1.367 GB, free: 11.58 MB / 1.061 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.000621/0.3487, allocations: 306.1 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3487, allocations: 8.031 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.3488, allocations: 8.891 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3489, allocations: 118.4 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3489, allocations: 8.375 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.349, allocations: 4.375 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.3492, allocations: 86.08 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3492, allocations: 4.188 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3492, allocations: 7.938 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3492, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.3495, allocations: 63.94 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.35, allocations: 260.4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3502, allocations: 86.47 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3504, allocations: 40.92 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3504, allocations: 0 / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3504, allocations: 34.56 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3504, allocations: 0 / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004948/0.3509, allocations: 129.6 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.351, allocations: 59.33 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3511, allocations: 121.8 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3511, allocations: 25.7 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.3512, allocations: 104.1 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3512, allocations: 19.97 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.3513, allocations: 25.64 kB / 1.368 GB, free: 9.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3514, allocations: 310.8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3516, allocations: 31.97 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3517, allocations: 31.97 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.3519, allocations: 72.75 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3519, allocations: 4.312 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003042/0.3522, allocations: 113.5 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3522, allocations: 4 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3522, allocations: 0 / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3522, allocations: 0 / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3524, allocations: 15.98 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3524, allocations: 0 / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.3525, allocations: 15.98 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3525, allocations: 0 / 1.369 GB, free: 9.324 MB / 1.061 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.0001012/0.3526, allocations: 126.4 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3526, allocations: 3.953 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.3527, allocations: 16.36 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3527, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3527, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3527, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3528, allocations: 125.2 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3529, allocations: 3.984 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.353, allocations: 15.98 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.353, allocations: 0 / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.353, allocations: 8 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.353, allocations: 3.938 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.353, allocations: 4 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3534, allocations: 199.4 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.3534, allocations: 11.94 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3534, allocations: 0 / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3535, allocations: 4 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.3536, allocations: 15.97 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3536, allocations: 12 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.81e-05/0.3537, allocations: 95.2 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3537, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002435/0.3539, allocations: 12 kB / 1.369 GB, free: 8.621 MB / 1.061 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.0001351/0.354, allocations: 95.25 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3543, allocations: 72 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3543, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3545, allocations: 44.09 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3548, allocations: 13.14 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.3553, allocations: 199.2 kB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.3554, allocations: 75.33 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.3555, allocations: 11.44 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3555, allocations: 0 / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of Templates: time 0.003068/0.3585, allocations: 1.078 MB / 1.371 GB, free: 6.992 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.105935060884804]