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.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.001602/0.001602, allocations: 110 kB / 18.93 MB, free: 2.945 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.002235/0.002235, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.454/1.454, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.14/3.14, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001945/0.001945, allocations: 64.11 kB / 1.145 GB, free: 30.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3991, allocations: 174.9 MB / 1.316 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002831/0.4019, allocations: 0.7761 MB / 1.317 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4033, allocations: 0.8472 MB / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.4034, allocations: 3.938 kB / 1.318 GB, free: 8.199 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.4035, allocations: 3.938 kB / 1.318 GB, free: 8.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.4036, allocations: 15.86 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.4038, allocations: 27.97 kB / 1.318 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.4039, allocations: 63.91 kB / 1.318 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4041, allocations: 27.83 kB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4042, allocations: 31.86 kB / 1.318 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.4043, allocations: 43.77 kB / 1.318 GB, free: 7.988 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.4043, allocations: 8 kB / 1.318 GB, free: 7.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.4043, allocations: 8 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.4044, allocations: 11.98 kB / 1.318 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.4044, allocations: 35.78 kB / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.4046, allocations: 79.69 kB / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4046, allocations: 0 / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.045e-06/0.4046, allocations: 7.922 kB / 1.318 GB, free: 7.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.4046, allocations: 0 / 1.318 GB, free: 7.84 MB / 1.014 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.0006544/0.4052, allocations: 294.1 kB / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4053, allocations: 12.03 kB / 1.318 GB, free: 7.508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.4053, allocations: 4.891 kB / 1.318 GB, free: 7.504 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4055, allocations: 130.4 kB / 1.318 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4055, allocations: 4.312 kB / 1.318 GB, free: 7.348 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.4055, allocations: 8.375 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.4058, allocations: 82.2 kB / 1.319 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4058, allocations: 192 / 1.319 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4058, allocations: 7.938 kB / 1.319 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4058, allocations: 0 / 1.319 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.4061, allocations: 67.94 kB / 1.319 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.4066, allocations: 291.8 kB / 1.319 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4068, allocations: 82.53 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.407, allocations: 36.92 kB / 1.319 GB, free: 6.723 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.407, allocations: 4 kB / 1.319 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.407, allocations: 34.56 kB / 1.319 GB, free: 6.676 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.407, allocations: 4 kB / 1.319 GB, free: 6.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0004727/0.4075, allocations: 141.5 kB / 1.319 GB, free: 6.527 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4075, allocations: 51.41 kB / 1.319 GB, free: 6.465 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4077, allocations: 117.8 kB / 1.319 GB, free: 6.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4077, allocations: 25.81 kB / 1.319 GB, free: 6.309 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.4077, allocations: 108 kB / 1.319 GB, free: 6.199 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4078, allocations: 15.89 kB / 1.319 GB, free: 6.184 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.4078, allocations: 21.7 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.408, allocations: 322.8 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4081, allocations: 31.97 kB / 1.32 GB, free: 5.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.796e-05/0.4082, allocations: 31.97 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.4084, allocations: 72.75 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4084, allocations: 0 / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002649/0.4087, allocations: 101.6 kB / 1.32 GB, free: 5.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4087, allocations: 8 kB / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4087, allocations: 0 / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4087, allocations: 0 / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.4088, allocations: 15.98 kB / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4089, allocations: 0 / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.4089, allocations: 11.98 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4089, allocations: 4 kB / 1.32 GB, free: 5.551 MB / 1.014 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.93e-05/0.409, allocations: 113.8 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.4091, allocations: 7.953 kB / 1.32 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.4091, allocations: 20.3 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4091, allocations: 7.938 kB / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4091, allocations: 0 / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4091, allocations: 0 / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4093, allocations: 168.5 kB / 1.32 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4093, allocations: 4 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4094, allocations: 16.42 kB / 1.32 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4094, allocations: 0 / 1.32 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4094, allocations: 7.984 kB / 1.32 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4095, allocations: 4 kB / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4095, allocations: 4 kB / 1.32 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4098, allocations: 203.4 kB / 1.321 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.4098, allocations: 7.953 kB / 1.321 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4098, allocations: 0 / 1.321 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4099, allocations: 7.984 kB / 1.321 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.41, allocations: 15.92 kB / 1.321 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.41, allocations: 0 / 1.321 GB, free: 4.902 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.639e-05/0.4101, allocations: 103.6 kB / 1.321 GB, free: 4.801 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4101, allocations: 0 / 1.321 GB, free: 4.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002187/0.4103, allocations: 8 kB / 1.321 GB, free: 4.793 MB / 1.014 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.0001517/0.4104, allocations: 103.8 kB / 1.321 GB, free: 4.684 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.4107, allocations: 71.88 kB / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4107, allocations: 0 / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.4109, allocations: 43.91 kB / 1.321 GB, free: 4.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.4112, allocations: 8.328 kB / 1.321 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.4117, allocations: 169.4 kB / 1.321 GB, free: 4.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.412, allocations: 0.6885 MB / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.4121, allocations: 11.75 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.4121, allocations: 15.42 kB / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.4122, allocations: 4 kB / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of Templates: time 0.004173/0.4163, allocations: 1.274 MB / 1.323 GB, free: 2.359 MB / 1.014 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: 9.097280933521688]