Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001703/0.001703, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001939/0.001939, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.534/1.534, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 443.4 MB / 0.7304 GB, free: 14.03 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.91 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3922, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002117/0.3943, allocations: 0.7685 MB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3955, allocations: 0.8468 MB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.3955, allocations: 7.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.3956, allocations: 3.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3957, allocations: 15.86 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.3959, allocations: 23.97 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.396, allocations: 71.81 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3961, allocations: 16 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.3962, allocations: 31.84 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.3963, allocations: 39.84 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3963, allocations: 8 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.3963, allocations: 8 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.3964, allocations: 23.91 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.3964, allocations: 31.8 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3966, allocations: 71.67 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3966, allocations: 4 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3966, allocations: 4 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3966, allocations: 0 / 1.218 GB, free: 13.32 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.0007045/0.3973, allocations: 379.1 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3973, allocations: 8.031 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3974, allocations: 12.89 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.3976, allocations: 176.2 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3976, allocations: 8.375 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3976, allocations: 4.375 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3979, allocations: 78.2 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3979, allocations: 192 / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3979, allocations: 7.938 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3979, allocations: 3.938 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3982, allocations: 67.94 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.3987, allocations: 328.7 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.399, allocations: 82.53 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3991, allocations: 40.92 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3991, allocations: 7.984 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3992, allocations: 30.56 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3992, allocations: 3.938 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005096/0.3997, allocations: 133.6 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3997, allocations: 51.41 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3999, allocations: 125.8 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3999, allocations: 29.7 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3999, allocations: 96.06 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.4, allocations: 19.86 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.4, allocations: 21.7 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4002, allocations: 314.8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.4003, allocations: 32.22 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.4004, allocations: 43.91 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.4006, allocations: 68.75 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4006, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002732/0.4009, allocations: 105.6 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4009, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4009, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.401, allocations: 4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4011, allocations: 15.98 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4011, allocations: 112 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.4012, allocations: 11.92 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.4012, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 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.0001046/0.4013, allocations: 117.7 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4013, allocations: 7.953 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.4014, allocations: 16.36 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4014, allocations: 4 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4014, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4014, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.4016, allocations: 197.5 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4016, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.4017, allocations: 15.98 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4017, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4017, allocations: 3.984 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4017, allocations: 4 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4017, allocations: 0 / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4021, allocations: 207.6 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.4022, allocations: 89 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4022, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4023, allocations: 7.984 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.4023, allocations: 15.98 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4024, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.573e-05/0.4024, allocations: 99.27 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4024, allocations: 0 / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002275/0.4027, allocations: 12 kB / 1.221 GB, free: 9.945 MB / 0.9669 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.0001764/0.4028, allocations: 99.25 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.4032, allocations: 75.88 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4032, allocations: 0 / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4033, allocations: 47.91 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4037, allocations: 6.016 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.4042, allocations: 190.4 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4046, allocations: 0.6885 MB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.581e-05/0.4047, allocations: 11.94 kB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.4047, allocations: 19.42 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.4047, allocations: 3.938 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.004146/0.4089, allocations: 1.258 MB / 1.223 GB, free: 7.5 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.863742835819721]