Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001497/0.001497, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001583/0.001583, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.536/3.536, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002388/0.002388, allocations: 66.91 kB / 1.186 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4426, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002029/0.4446, allocations: 0.5594 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 5.08e-05/0.4447, allocations: 7.938 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.4447, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.4447, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.075e-05/0.4448, allocations: 3.938 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.532e-05/0.4448, allocations: 3.984 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.4449, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.445, allocations: 8 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.445, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.194e-05/0.445, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.445, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-06/0.445, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.445, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.4451, allocations: 3.938 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.4451, allocations: 7.984 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4451, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4452, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4452, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 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.0003811/0.4455, allocations: 242.4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4456, allocations: 8.031 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.4456, allocations: 4.938 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4458, allocations: 110.5 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4458, allocations: 384 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.4458, allocations: 384 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.4459, allocations: 30.27 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4459, allocations: 192 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4459, allocations: 7.922 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4459, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.446, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.4463, allocations: 327.2 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4465, allocations: 177.5 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.4465, allocations: 84.12 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.4466, allocations: 79.22 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.068e-05/0.4467, allocations: 109.8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4467, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.605e-05/0.4467, allocations: 37.62 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4468, allocations: 126.7 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4469, allocations: 89.86 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4469, allocations: 29.7 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.447, allocations: 84.2 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.447, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.447, allocations: 9.719 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4472, allocations: 314.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.4472, allocations: 4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.4472, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.4472, allocations: 75.28 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.369e-05/0.4473, allocations: 79.22 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.14e-05/0.4473, allocations: 37.62 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.4474, allocations: 79.28 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.4474, allocations: 79.22 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.233e-05/0.4475, allocations: 158.6 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.4476, allocations: 83.22 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-05/0.4476, allocations: 150.6 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.4477, allocations: 79.28 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.4478, allocations: 87.2 kB / 1.367 GB, free: 10.1 MB / 1.061 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.0001644/0.4479, allocations: 256.4 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.448, allocations: 108.9 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.4481, allocations: 107.9 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.431e-05/0.4482, allocations: 177.3 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/0.4483, allocations: 192.2 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.845e-05/0.4484, allocations: 180.3 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.4486, allocations: 348.9 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/0.4487, allocations: 108.9 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.4487, allocations: 105 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.736e-05/0.4488, allocations: 188.1 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4489, allocations: 180.3 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-05/0.449, allocations: 176.6 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.383e-05/0.4491, allocations: 184.2 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.4493, allocations: 311.8 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.4494, allocations: 104.9 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4495, allocations: 180.3 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.4496, allocations: 108.9 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4497, allocations: 180.2 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.4498, allocations: 112.9 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.4499, allocations: 75.28 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4499, allocations: 3.938 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002446/0.4501, allocations: 0 / 1.37 GB, free: 6.598 MB / 1.061 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.0001934/0.4503, allocations: 170.5 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.312e-05/0.4503, allocations: 0 / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4503, allocations: 4.094 kB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4503, allocations: 0 / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4508, allocations: 455.7 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.4511, allocations: 160.2 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.677e-05/0.4512, allocations: 55.36 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.134e-06/0.4512, allocations: 0 / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.4512, allocations: 7.438 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4512, allocations: 0 / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of Templates: time 0.002322/0.4535, allocations: 136.8 kB / 1.371 GB, free: 5.566 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.724719256162643]