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.001429/0.001429, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001631/0.001631, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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 2.932/2.932, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.257e-06/3.257e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.219e-05, allocations: 2.281 kB / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002628/0.00267, allocations: 0.7542 MB / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.004487, allocations: 0.8626 MB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.004586, allocations: 0 / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.66e-05/0.004643, allocations: 7.875 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.004773, allocations: 7.938 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.005, allocations: 27.97 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.005161, allocations: 67.83 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.005315, allocations: 23.91 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.005445, allocations: 39.91 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.00553, allocations: 35.89 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.005571, allocations: 8 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.005591, allocations: 4 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.005624, allocations: 23.86 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.005666, allocations: 19.92 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.005844, allocations: 79.78 kB / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005846, allocations: 0 / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005847, allocations: 0 / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.005859, allocations: 0 / 1.002 GB, free: 5.258 MB / 0.9512 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.0006824/0.006542, allocations: 302.1 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.00659, allocations: 12.03 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.006637, allocations: 4.891 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006819, allocations: 129.7 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.006844, allocations: 4.375 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.006865, allocations: 4.375 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.007133, allocations: 82.14 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.007145, allocations: 4.188 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.007158, allocations: 384 / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007164, allocations: 384 / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.007434, allocations: 75.88 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.008006, allocations: 252.4 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.008291, allocations: 86.47 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.008433, allocations: 40.92 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.008459, allocations: 3.938 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.008518, allocations: 34.56 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.008519, allocations: 4 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0005479/0.009067, allocations: 137.5 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.009117, allocations: 55.41 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.009259, allocations: 117.8 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.009287, allocations: 29.69 kB / 1.003 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.009375, allocations: 100 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.009411, allocations: 11.86 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.009473, allocations: 21.7 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.009651, allocations: 326.8 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.009775, allocations: 27.98 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.009889, allocations: 28.34 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.01014, allocations: 72.81 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01015, allocations: 0 / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003022/0.01045, allocations: 109.5 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01046, allocations: 8 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01047, allocations: 0 / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01048, allocations: 0 / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01064, allocations: 15.98 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01064, allocations: 3.984 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.01073, allocations: 11.89 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.01074, allocations: 4 kB / 1.004 GB, free: 3.004 MB / 0.9512 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.000117/0.01086, allocations: 114.4 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.01089, allocations: 7.938 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.01092, allocations: 12.44 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01092, allocations: 4 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01093, allocations: 112 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01093, allocations: 3.938 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.01112, allocations: 137.2 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01113, allocations: 0 / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01124, allocations: 19.92 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01125, allocations: 3.938 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01126, allocations: 0 / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01127, allocations: 3.984 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01127, allocations: 3.984 kB / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.01165, allocations: 203.6 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.01167, allocations: 7.953 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01169, allocations: 3.938 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01181, allocations: 15.92 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.01188, allocations: 11.98 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01189, allocations: 0 / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.419e-05/0.01196, allocations: 95.27 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01196, allocations: 0 / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002376/0.0122, allocations: 16 kB / 1.005 GB, free: 2.297 MB / 0.9512 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.0002029/0.0124, allocations: 103.2 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.01271, allocations: 63.95 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01272, allocations: 0 / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01287, allocations: 43.95 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.01319, allocations: 14.44 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.01371, allocations: 172.6 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.0138, allocations: 71.33 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.01385, allocations: 4 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.01391, allocations: 24.48 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.01391, allocations: 4 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.004519/0.01843, allocations: 1.328 MB / 1.007 GB, free: 448 kB / 0.9512 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/jenkins/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: 8.546828009188175]