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.002325/0.002325, allocations: 83.69 kB / 20.24 MB, free: 4.172 MB / 18.57 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.002561/0.002561, allocations: 157.8 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.63/1.63, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.126/3.126, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 4.088e-06/4.088e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.107e-05/4.516e-05, allocations: 7.5 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002055/0.002101, allocations: 0.5396 MB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.901e-05/0.00215, allocations: 3.938 kB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.00218, allocations: 0.8438 kB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.002203, allocations: 0 / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.01e-05/0.002233, allocations: 1 kB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.924e-05/0.002272, allocations: 7.984 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.002337, allocations: 7.984 kB / 0.8114 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.002384, allocations: 1.594 kB / 0.8114 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.002419, allocations: 4 kB / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.002442, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.002456, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.002461, allocations: 1.031 kB / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.002473, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.002493, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.023e-05/0.002553, allocations: 4.719 kB / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002556, allocations: 0 / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002556, allocations: 5.688 kB / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00256, allocations: 0 / 0.8114 GB, free: 1.496 MB / 0.7605 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.0004274/0.002988, allocations: 348.4 kB / 0.8117 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.003029, allocations: 8.031 kB / 0.8117 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.003068, allocations: 0.9375 kB / 0.8117 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.003201, allocations: 114.1 kB / 0.8118 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.003215, allocations: 384 / 0.8118 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.003222, allocations: 384 / 0.8118 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.003311, allocations: 28.02 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.003324, allocations: 8.172 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003334, allocations: 384 / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003339, allocations: 384 / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.00336, allocations: 7.922 kB / 0.8119 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.003812, allocations: 470.8 kB / 0.8123 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.004004, allocations: 274.3 kB / 0.8126 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.004074, allocations: 126.9 kB / 0.8127 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.004165, allocations: 119.2 kB / 0.8128 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.977e-05/0.004264, allocations: 155.2 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.004265, allocations: 0 / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.029e-05/0.004355, allocations: 41.56 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.004462, allocations: 170.6 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.004614, allocations: 149.9 kB / 0.8133 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.004639, allocations: 33.7 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.004719, allocations: 127.4 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.004721, allocations: 0.7188 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.004754, allocations: 15.38 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.00502, allocations: 496.7 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-06/0.005025, allocations: 1.656 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.005028, allocations: 0 / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.00509, allocations: 119.2 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.849e-05/0.005149, allocations: 123.1 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.185e-05/0.00521, allocations: 37.62 kB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.005286, allocations: 123.7 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.586e-05/0.005351, allocations: 123.7 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.005502, allocations: 246.4 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.005566, allocations: 123.9 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/0.005687, allocations: 242.5 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.005792, allocations: 128.3 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.005854, allocations: 119.2 kB / 0.8153 GB, free: 13.3 MB / 0.7761 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.0002332/0.006087, allocations: 396.3 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.006186, allocations: 152.9 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.00628, allocations: 155.8 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/0.006411, allocations: 264.1 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001488/0.006559, allocations: 272.5 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001383/0.006698, allocations: 269.2 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.007048, allocations: 499.9 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.177e-05/0.00713, allocations: 148.8 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.00721, allocations: 153.8 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.007353, allocations: 272 kB / 0.8178 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004037/0.007757, allocations: 264.1 kB / 0.818 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001424/0.007899, allocations: 268.9 kB / 0.8183 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001384/0.008038, allocations: 276 kB / 0.8185 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.008314, allocations: 446.2 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.008409, allocations: 148.8 kB / 0.8191 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.008556, allocations: 272 kB / 0.8194 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.008675, allocations: 152.8 kB / 0.8195 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.008827, allocations: 268.1 kB / 0.8198 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/0.008916, allocations: 153.2 kB / 0.8199 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.008989, allocations: 122 kB / 0.82 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008989, allocations: 0 / 0.82 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002529/0.009242, allocations: 0 / 0.82 GB, free: 8.266 MB / 0.7761 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.000212/0.009454, allocations: 214.4 kB / 0.8202 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.692e-05/0.009501, allocations: 0 / 0.8202 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.009505, allocations: 5.469 kB / 0.8202 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.009507, allocations: 0 / 0.8202 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.01012, allocations: 0.7078 MB / 0.8209 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.01044, allocations: 213.2 kB / 0.8211 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.01051, allocations: 59.22 kB / 0.8212 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.044e-06/0.01051, allocations: 0.5625 kB / 0.8212 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.01053, allocations: 9.875 kB / 0.8212 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01053, allocations: 0 / 0.8212 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of Templates: time 0.00233/0.01286, allocations: 175.3 kB / 0.8214 GB, free: 6.844 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.259835527976975]