Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001815/0.001815, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001991/0.001991, allocations: 216 kB / 22.24 MB, free: 5.242 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.097/3.097, allocations: 476 MB / 0.7699 GB, free: 4.762 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.002284/0.002284, allocations: 71 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4194, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001901/0.4213, allocations: 0.5559 MB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.4e-05/0.4214, allocations: 7.938 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.4214, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.4214, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.4215, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.294e-05/0.4215, allocations: 0 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.4216, allocations: 11.92 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.4216, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.4217, allocations: 4 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.986e-05/0.4217, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.4217, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.4217, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.4217, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.4217, allocations: 4 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.4218, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4218, allocations: 7.938 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4218, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4218, allocations: 3.984 kB / 1.284 GB, free: 11.35 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.0003563/0.4222, allocations: 238.4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4222, allocations: 8.031 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.4222, allocations: 0.9375 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4224, allocations: 114.5 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4224, allocations: 4.375 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4224, allocations: 384 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.987e-05/0.4225, allocations: 30.25 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4225, allocations: 192 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4225, allocations: 7.938 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4225, allocations: 0 / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.4225, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.423, allocations: 327.2 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.4231, allocations: 169.1 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.4232, allocations: 84.17 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4232, allocations: 79.22 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.246e-05/0.4233, allocations: 109.8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4233, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.602e-05/0.4234, allocations: 37.58 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.4235, allocations: 130.7 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.4236, allocations: 93.86 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4236, allocations: 25.7 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.4237, allocations: 84.09 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4237, allocations: 4 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.4237, allocations: 9.719 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002936/0.424, allocations: 310.8 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.424, allocations: 0 / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.424, allocations: 4.109 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.4241, allocations: 79.28 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.169e-05/0.4241, allocations: 75.28 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.969e-05/0.4242, allocations: 37.64 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/0.4242, allocations: 89.75 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/0.4243, allocations: 79.22 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.54e-05/0.4244, allocations: 150.6 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.4244, allocations: 87.16 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.489e-05/0.4245, allocations: 150.6 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.4246, allocations: 79.27 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.4246, allocations: 81.02 kB / 1.286 GB, free: 8.445 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.0001577/0.4248, allocations: 264.4 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.4249, allocations: 104.9 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.4249, allocations: 111.9 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.957e-05/0.425, allocations: 180.3 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000112/0.4251, allocations: 184.2 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.4252, allocations: 180.3 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.4255, allocations: 348.9 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-05/0.4256, allocations: 108.9 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4256, allocations: 105 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.4258, allocations: 184.1 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.4259, allocations: 184.3 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.69e-05/0.426, allocations: 180.3 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001075/0.4261, allocations: 180.2 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.4263, allocations: 312.1 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.4263, allocations: 112.9 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4265, allocations: 180.3 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.4266, allocations: 116.9 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4267, allocations: 176.3 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4267, allocations: 104.9 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.4268, allocations: 79.28 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4268, allocations: 0 / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002586/0.427, allocations: 0 / 1.29 GB, free: 4.938 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.0001735/0.4272, allocations: 182.6 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.011e-05/0.4273, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4273, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.4273, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.4277, allocations: 461.6 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.428, allocations: 156.2 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.4281, allocations: 55.36 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.274e-06/0.4281, allocations: 0 / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.4281, allocations: 7.438 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.4281, allocations: 3.938 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of Templates: time 0.002271/0.4304, allocations: 136.9 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.612931203097105]