Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.002211/0.002211, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002769/0.002769, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.056/3.056, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [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.002225/0.002225, allocations: 65.64 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3882, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001923/0.3901, allocations: 0.5566 MB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.69e-05/0.3901, allocations: 4 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.3902, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.3902, allocations: 3.984 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.3902, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.589e-05/0.3903, allocations: 7.938 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.3903, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.3904, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.3904, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.3904, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3904, allocations: 3.938 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.3904, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.3905, allocations: 3.984 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.3905, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.587e-05/0.3905, allocations: 4 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3906, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3906, allocations: 4 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3906, allocations: 0 / 1.284 GB, free: 11.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003314/0.3909, allocations: 242.4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3909, allocations: 8.031 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.391, allocations: 0.9375 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3911, allocations: 106.5 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3911, allocations: 384 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.3911, allocations: 384 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.3912, allocations: 30.27 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3912, allocations: 8.109 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3912, allocations: 7.938 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3912, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.3912, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.3916, allocations: 327.2 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3917, allocations: 169.2 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.3917, allocations: 96 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.3918, allocations: 79.22 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.3918, allocations: 109.8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3918, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.343e-05/0.3919, allocations: 29.7 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.392, allocations: 130.7 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.3921, allocations: 89.86 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3921, allocations: 25.7 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.3921, allocations: 92.03 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.3921, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3922, allocations: 13.72 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3923, allocations: 310.8 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-06/0.3923, allocations: 3.938 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.3923, allocations: 8.125 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.3924, allocations: 75.28 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/0.3924, allocations: 79.39 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.652e-05/0.3924, allocations: 37.64 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.3925, allocations: 85.47 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/0.3925, allocations: 75.28 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.324e-05/0.3926, allocations: 154.5 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-05/0.3927, allocations: 79.28 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.542e-05/0.3927, allocations: 158.5 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3928, allocations: 75.28 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.3928, allocations: 85.06 kB / 1.286 GB, free: 8.445 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 (0): * Single equations (assignments): 0 * 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.0001381/0.393, allocations: 260.3 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.3931, allocations: 108.9 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.3931, allocations: 108 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.948e-05/0.3932, allocations: 184.2 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.131e-05/0.3933, allocations: 184.2 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.827e-05/0.3934, allocations: 180.2 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3936, allocations: 348.9 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/0.3937, allocations: 105 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.3937, allocations: 108.9 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.986e-05/0.3938, allocations: 180.2 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.3939, allocations: 192.1 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.897e-05/0.394, allocations: 176.3 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.3941, allocations: 180.3 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.3942, allocations: 312.1 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.3943, allocations: 108.9 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.3944, allocations: 180.3 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.3944, allocations: 105 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.3945, allocations: 188.2 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.3946, allocations: 105 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.3946, allocations: 75.28 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002673/0.3949, allocations: 0 / 1.29 GB, free: 4.945 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 (0): * Single equations (assignments): 0 * 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.0001569/0.3951, allocations: 174.6 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.396e-05/0.3951, allocations: 3.938 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3951, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3951, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3956, allocations: 465.3 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.3958, allocations: 156.3 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.928e-05/0.3959, allocations: 51.36 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.804e-06/0.3959, allocations: 0 / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3959, allocations: 7.438 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3959, allocations: 4 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.002207/0.3981, allocations: 137 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.694417916238308]