Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001723/0.001723, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002042/0.002042, allocations: 210.5 kB / 23.03 MB, free: 4.863 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.153/3.153, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_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.002004/0.002004, allocations: 63.48 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3606, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001726/0.3624, allocations: 0.5912 MB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.714e-05/0.3624, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.3624, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3625, allocations: 3.938 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.3625, allocations: 3.938 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.915e-05/0.3625, allocations: 0 / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.3626, allocations: 11.98 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.3626, allocations: 3.984 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.3626, allocations: 3.938 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.3627, allocations: 4 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.3627, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-06/0.3627, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3627, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.3627, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.219e-05/0.3628, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3628, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3628, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3628, allocations: 0 / 1.328 GB, free: 364 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.0003008/0.3631, allocations: 242.4 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3631, allocations: 12.03 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.3631, allocations: 8.938 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3632, allocations: 102.5 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3632, allocations: 4.312 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-06/0.3633, allocations: 384 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/0.3633, allocations: 34.2 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3633, allocations: 192 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3634, allocations: 3.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3634, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.251e-05/0.3634, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.3637, allocations: 339.1 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3638, allocations: 173.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.3638, allocations: 84.14 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.3639, allocations: 83.22 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/0.3639, allocations: 109.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3639, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.712e-05/0.364, allocations: 29.7 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.3641, allocations: 126.7 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.3641, allocations: 101.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3642, allocations: 25.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3642, allocations: 80.14 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.3642, allocations: 4.125 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.3642, allocations: 9.719 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3644, allocations: 318.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-06/0.3644, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-06/0.3644, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.3644, allocations: 75.28 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/0.3644, allocations: 79.22 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.611e-05/0.3645, allocations: 33.64 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.3645, allocations: 83.27 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.3646, allocations: 79.22 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.86e-05/0.3647, allocations: 154.6 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.3647, allocations: 83.22 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.723e-05/0.3648, allocations: 150.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3649, allocations: 83.28 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.3649, allocations: 79.22 kB / 1.33 GB, free: 13.44 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.0001394/0.365, allocations: 256.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3651, allocations: 112.9 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.3652, allocations: 107.9 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-05/0.3653, allocations: 180.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.829e-05/0.3654, allocations: 184.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.732e-05/0.3654, allocations: 180.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3657, allocations: 356.9 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.3657, allocations: 104.9 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.3658, allocations: 105 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.304e-05/0.3659, allocations: 188.2 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.366, allocations: 184.2 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.147e-05/0.366, allocations: 176.6 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.664e-05/0.3661, allocations: 188.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3663, allocations: 303.9 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3664, allocations: 112.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.3664, allocations: 180.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.3665, allocations: 104.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.3666, allocations: 180.3 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.3667, allocations: 109 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.3667, allocations: 83.2 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3667, allocations: 0 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002911/0.367, allocations: 0 / 1.334 GB, free: 9.922 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.0001562/0.3672, allocations: 174.5 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.3672, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3672, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3672, allocations: 8.094 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3676, allocations: 451.7 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.3679, allocations: 186 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.368, allocations: 55.34 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.368, allocations: 15.38 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.368, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of Templates: time 0.001618/0.3696, allocations: 315.8 kB / 1.335 GB, free: 8.672 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.180632027098909]