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.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.001744/0.001744, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002298/0.002298, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.789/2.789, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_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: 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.002074/0.002074, allocations: 66.19 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2941, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002023/0.2961, allocations: 0.7801 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2972, allocations: 0.8667 MB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.2972, allocations: 0 / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.2973, allocations: 11.88 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.091e-05/0.2974, allocations: 7.922 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2975, allocations: 27.95 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2976, allocations: 75.78 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2978, allocations: 19.98 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.2979, allocations: 31.91 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.2979, allocations: 43.83 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.298, allocations: 8 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.298, allocations: 4 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.298, allocations: 19.92 kB / 1.287 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.2981, allocations: 27.86 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2982, allocations: 79.56 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2982, allocations: 0 / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2982, allocations: 4 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2982, allocations: 0 / 1.287 GB, free: 9.172 MB / 0.9825 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.0006103/0.2988, allocations: 307.8 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2988, allocations: 8.031 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.2989, allocations: 8.891 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.299, allocations: 114.4 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.299, allocations: 8.375 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.299, allocations: 4.375 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2993, allocations: 86.19 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2993, allocations: 4.188 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2993, allocations: 3.938 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2993, allocations: 4 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.2996, allocations: 67.88 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3, allocations: 295.8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3003, allocations: 86.47 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3004, allocations: 40.92 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3004, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3005, allocations: 34.56 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.3005, allocations: 0 / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004882/0.3009, allocations: 133.6 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.301, allocations: 59.39 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3011, allocations: 113.8 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3011, allocations: 33.64 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.3012, allocations: 100 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3012, allocations: 15.86 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.3013, allocations: 21.7 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3014, allocations: 326.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3015, allocations: 27.97 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3016, allocations: 31.97 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3019, allocations: 69.19 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3019, allocations: 0 / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003041/0.3022, allocations: 109.6 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3022, allocations: 4 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3022, allocations: 0 / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3022, allocations: 4 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3024, allocations: 15.92 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3024, allocations: 4 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.3025, allocations: 7.984 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3025, allocations: 0 / 1.289 GB, free: 6.879 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 9.678e-05/0.3026, allocations: 117.8 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3026, allocations: 11.95 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3026, allocations: 12.36 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3026, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3026, allocations: 112 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.3026, allocations: 3.938 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3028, allocations: 176.6 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3028, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.303, allocations: 15.98 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.303, allocations: 0 / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.303, allocations: 0 / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.303, allocations: 4 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.303, allocations: 3.984 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3033, allocations: 207.3 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.3033, allocations: 0 / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3034, allocations: 8 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3035, allocations: 3.984 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.3035, allocations: 15.98 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3035, allocations: 4.125 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.3036, allocations: 99.64 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3036, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002306/0.3038, allocations: 15.95 kB / 1.289 GB, free: 6.125 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.00013/0.304, allocations: 99.17 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.3043, allocations: 83.83 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3043, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3044, allocations: 39.97 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3047, allocations: 7.984 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.3052, allocations: 187.3 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3055, allocations: 0.7001 MB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3056, allocations: 11.44 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3056, allocations: 0 / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of Templates: time 0.002739/0.3083, allocations: 1.05 MB / 1.291 GB, free: 3.895 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/jenkins1/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: 10.897256718977587]