Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001486/0.001486, allocations: 212.5 kB / 22.99 MB, free: 4.98 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.406/3.406, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002153/0.002153, allocations: 74.5 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.395, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001696/0.3967, allocations: 0.5607 MB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.522e-05/0.3967, allocations: 0 / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.3968, allocations: 4 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.3968, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.3968, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.3968, allocations: 4 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.3969, allocations: 3.938 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.397, allocations: 7.984 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.397, allocations: 3.938 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.862e-05/0.397, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.397, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.397, allocations: 4 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.397, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.397, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.776e-05/0.3971, allocations: 4 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3971, allocations: 0 / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3971, allocations: 0 / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3971, allocations: 0 / 1.328 GB, free: 444 kB / 1.014 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.0002961/0.3974, allocations: 242.4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3974, allocations: 8.031 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.3975, allocations: 0.9375 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3976, allocations: 110.5 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3976, allocations: 4.312 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3976, allocations: 384 / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3977, allocations: 30.27 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3977, allocations: 192 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3977, allocations: 7.938 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3977, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.3977, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.398, allocations: 331.1 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3982, allocations: 173.6 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.3982, allocations: 80.14 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.3982, allocations: 87.16 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.3983, allocations: 109.8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.3983, allocations: 3.984 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.547e-05/0.3984, allocations: 33.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.3984, allocations: 130.7 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.3985, allocations: 93.86 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3985, allocations: 25.7 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3986, allocations: 88.12 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.3986, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.3986, allocations: 9.844 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3987, allocations: 314.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.3987, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.3988, allocations: 7.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.3988, allocations: 75.28 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/0.3988, allocations: 75.28 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.795e-05/0.3989, allocations: 33.62 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.3989, allocations: 83.28 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/0.399, allocations: 75.28 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.801e-05/0.399, allocations: 158.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.364e-05/0.3991, allocations: 79.28 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.61e-05/0.3991, allocations: 158.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.3992, allocations: 79.28 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3992, allocations: 79.28 kB / 1.33 GB, free: 13.52 MB / 1.029 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.0001319/0.3994, allocations: 264.3 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.3994, allocations: 112.9 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.3995, allocations: 108 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.407e-05/0.3996, allocations: 180.2 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.606e-05/0.3997, allocations: 176.3 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.3997, allocations: 188.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.4, allocations: 348.9 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/0.4, allocations: 109 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.4001, allocations: 108.9 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/0.4001, allocations: 184.2 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.4002, allocations: 184.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.536e-05/0.4003, allocations: 176.6 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.96e-05/0.4004, allocations: 176.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.4006, allocations: 315.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.4006, allocations: 108.9 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.4007, allocations: 180.3 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4008, allocations: 105 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.4009, allocations: 180.2 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4009, allocations: 109 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.401, allocations: 79.28 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 3.938 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002506/0.4012, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 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.0001446/0.4014, allocations: 174.5 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.906e-05/0.4014, allocations: 3.938 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4014, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4014, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4018, allocations: 463.8 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.4021, allocations: 162.3 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.4022, allocations: 51.36 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.124e-06/0.4022, allocations: 0 / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.4022, allocations: 7.438 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4022, allocations: 0 / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of Templates: time 0.001932/0.4041, allocations: 156.9 kB / 1.335 GB, free: 8.941 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.398754747002386]