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.002184/0.002184, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.00286/0.00286, allocations: 207.9 kB / 23 MB, free: 4.965 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.868/2.868, allocations: 476 MB / 0.7707 GB, free: 4.738 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.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.002135/0.002135, allocations: 67.62 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002035/0.3724, allocations: 0.5586 MB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.215e-05/0.3724, allocations: 3.938 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.3724, allocations: 0 / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3725, allocations: 0 / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.609e-05/0.3725, allocations: 4 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.111e-05/0.3725, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3726, allocations: 8 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.3726, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3727, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.3727, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3727, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-06/0.3727, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3727, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.3727, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.58e-05/0.3728, allocations: 11.91 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3728, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3728, allocations: 4 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.3728, allocations: 4 kB / 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.0003619/0.3732, allocations: 238.4 kB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3732, allocations: 8.031 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.3733, allocations: 0.9375 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3734, allocations: 114.5 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3734, allocations: 384 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3734, allocations: 384 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.3735, allocations: 26.27 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3735, allocations: 192 / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3735, allocations: 3.938 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3735, allocations: 8 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.3736, allocations: 0 / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3739, allocations: 331.2 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.374, allocations: 169.1 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.3741, allocations: 84.17 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.3741, allocations: 83.22 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3742, allocations: 105.8 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3742, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.293e-05/0.3743, allocations: 29.64 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.3744, allocations: 130.7 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.3745, allocations: 93.86 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3745, allocations: 25.7 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.3745, allocations: 88.08 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.3745, allocations: 7.938 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.3746, allocations: 9.719 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3747, allocations: 318.8 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.3747, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.3747, allocations: 128 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.3748, allocations: 79.28 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-05/0.3748, allocations: 75.28 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.085e-05/0.3749, allocations: 33.77 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.3749, allocations: 87.28 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.375, allocations: 79.22 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.054e-05/0.375, allocations: 150.6 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.3751, allocations: 87.2 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.941e-05/0.3752, allocations: 150.6 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.3753, allocations: 79.28 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.3753, allocations: 81.02 kB / 1.287 GB, free: 8.461 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.0001578/0.3755, allocations: 260.4 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.3755, allocations: 104.9 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.3756, allocations: 115.9 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.385e-05/0.3757, allocations: 184.3 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001095/0.3758, allocations: 180.2 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.312e-05/0.3759, allocations: 180.3 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3762, allocations: 348.9 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-05/0.3762, allocations: 112.9 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.3763, allocations: 105 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.3764, allocations: 184.1 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/0.3765, allocations: 184.3 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.095e-05/0.3766, allocations: 180.2 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.984e-05/0.3766, allocations: 180.2 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3768, allocations: 308.1 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3769, allocations: 112.9 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.377, allocations: 180.3 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.3771, allocations: 112.9 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3772, allocations: 180.3 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.3773, allocations: 104.9 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.3773, allocations: 79.28 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3773, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.3776, allocations: 0 / 1.29 GB, free: 4.953 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.0001628/0.3777, allocations: 178.6 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.162e-05/0.3778, allocations: 3.938 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3778, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3778, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3782, allocations: 461.3 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.3785, allocations: 181.9 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.3786, allocations: 59.34 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3786, allocations: 7.438 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3786, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.002007/0.3806, allocations: 315.7 kB / 1.291 GB, free: 3.707 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/jenkins1/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: 11.110651358962059]