Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001856/0.001856, 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.00215/0.00215, allocations: 210.5 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.671/1.671, allocations: 230.6 MB / 256 MB, free: 7.789 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.953/2.953, allocations: 476 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.002247/0.002247, allocations: 68.67 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.382, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001873/0.3839, allocations: 0.5936 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.605e-05/0.3839, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.384, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.384, allocations: 3.938 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.316e-05/0.384, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.856e-05/0.3841, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.3841, allocations: 8 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.3842, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.3842, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.3842, allocations: 7.938 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3842, allocations: 0 / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-06/0.3842, allocations: 0 / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.3842, allocations: 7.984 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.3843, allocations: 0 / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.907e-05/0.3843, allocations: 3.984 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3843, allocations: 3.938 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3843, allocations: 0 / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3843, allocations: 0 / 1.284 GB, free: 11.29 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.0003161/0.3846, allocations: 238.4 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3847, allocations: 12.03 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.3847, allocations: 4.938 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3848, allocations: 106.5 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3848, allocations: 384 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.3849, allocations: 4.312 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.3849, allocations: 34.2 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.385, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.385, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.385, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.385, allocations: 4 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.3853, allocations: 331.2 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3854, allocations: 173.1 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.3855, allocations: 88.08 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.3855, allocations: 75.28 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.3856, allocations: 109.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3856, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.3856, allocations: 25.7 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.3857, allocations: 130.6 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.3858, allocations: 93.86 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3858, allocations: 25.7 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.3859, allocations: 84.22 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3859, allocations: 4 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3859, allocations: 13.7 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3861, allocations: 318.8 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.3861, allocations: 0 / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.3861, allocations: 128 / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.3861, allocations: 75.28 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.3861, allocations: 75.28 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.089e-05/0.3862, allocations: 37.64 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3863, allocations: 79.28 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.3863, allocations: 79.22 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.348e-05/0.3864, allocations: 158.6 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.3864, allocations: 83.2 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.13e-05/0.3865, allocations: 150.6 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.3866, allocations: 83.28 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.3866, allocations: 81.02 kB / 1.286 GB, free: 8.387 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.0001362/0.3867, allocations: 256.4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.3868, allocations: 108.9 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.3869, allocations: 115.8 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-05/0.3869, allocations: 176.3 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-05/0.387, allocations: 184.3 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.308e-05/0.3871, allocations: 188.1 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3874, allocations: 352.9 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/0.3874, allocations: 104.9 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3875, allocations: 104.9 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-05/0.3875, allocations: 184.3 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.3876, allocations: 188.2 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-05/0.3877, allocations: 176.3 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.798e-05/0.3878, allocations: 188.2 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.388, allocations: 308.1 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.388, allocations: 104.9 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/0.3881, allocations: 184.3 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.3882, allocations: 112.9 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3883, allocations: 184.3 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.3884, allocations: 104.9 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.3884, allocations: 75.28 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3884, allocations: 0 / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002411/0.3887, allocations: 0 / 1.29 GB, free: 4.875 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.0001616/0.3888, allocations: 174.5 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.829e-05/0.3889, allocations: 0 / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3889, allocations: 8.094 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3889, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3893, allocations: 451.7 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.3896, allocations: 160.2 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.3896, allocations: 55.36 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.589e-06/0.3896, allocations: 3.984 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3896, allocations: 7.438 kB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.3896, allocations: 0 / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.002054/0.3917, allocations: 147.4 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.874930933117867]