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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 192.7 kB / 22.23 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 251 MB, free: 13 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.848/2.848, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 176] 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.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=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: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 1.11 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 168.8 MB / 1.274 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002343/1.055, allocations: 0.7627 MB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001326/1.057, allocations: 0.8546 MB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/1.057, allocations: 0 / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/1.057, allocations: 11.88 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/1.057, allocations: 3.938 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/1.057, allocations: 27.95 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/1.057, allocations: 71.83 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/1.057, allocations: 19.92 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/1.057, allocations: 31.86 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/1.057, allocations: 47.81 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/1.057, allocations: 12 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/1.057, allocations: 4 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/1.058, allocations: 19.92 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/1.058, allocations: 23.86 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/1.058, allocations: 71.41 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.058, allocations: 3.938 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.366e-06/1.058, allocations: 4 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.012e-06/1.058, allocations: 0 / 1.276 GB, free: 2.18 MB / 0.9669 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.0006509/1.058, allocations: 311.5 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.058, allocations: 11.97 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/1.058, allocations: 8.891 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.059, allocations: 114.4 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.059, allocations: 4.375 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/1.059, allocations: 8.375 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/1.059, allocations: 82.14 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.059, allocations: 192 / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.059, allocations: 7.938 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.059, allocations: 4 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/1.059, allocations: 67.88 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/1.06, allocations: 303.7 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/1.06, allocations: 82.47 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/1.06, allocations: 44.92 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/1.06, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.06, allocations: 34.55 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/1.06, allocations: 0 / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004599/1.061, allocations: 129.7 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.061, allocations: 59.34 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.061, allocations: 121.8 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/1.061, allocations: 33.7 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/1.061, allocations: 84.14 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.061, allocations: 31.72 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/1.061, allocations: 17.72 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.061, allocations: 322.8 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.061, allocations: 27.97 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/1.061, allocations: 31.98 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/1.062, allocations: 73.19 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.062, allocations: 0 / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002786/1.062, allocations: 101.6 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.062, allocations: 4 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.062, allocations: 7.922 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.062, allocations: 8 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/1.062, allocations: 19.92 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.062, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/1.062, allocations: 7.984 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.062, allocations: 0 / 1.278 GB, free: 15.87 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.0001031/1.062, allocations: 117.8 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/1.062, allocations: 3.953 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/1.062, allocations: 12.38 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.062, allocations: 4 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.062, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.062, allocations: 3.984 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/1.062, allocations: 172.6 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.062, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.063, allocations: 11.98 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.063, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.063, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.063, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.063, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/1.063, allocations: 215.3 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/1.063, allocations: 7.891 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/1.063, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.063, allocations: 128 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/1.063, allocations: 23.97 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.063, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.58e-05/1.063, allocations: 95.27 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.063, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002214/1.063, allocations: 16 kB / 1.279 GB, free: 15.12 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.0001429/1.064, allocations: 91.25 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002945/1.064, allocations: 79.81 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.064, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/1.064, allocations: 43.97 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.064, allocations: 15.94 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/1.065, allocations: 161.4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/1.065, allocations: 0.6885 MB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.11e-05/1.065, allocations: 8 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/1.065, allocations: 23.36 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/1.065, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.004209/1.069, allocations: 1.265 MB / 1.281 GB, free: 12.7 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/jenkins/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: 9.56737523060292]