Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001413/0.001413, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001479/0.001479, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.582/1.582, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.756/2.756, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] 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.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [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.002208/0.002208, allocations: 67.91 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3252, allocations: 169.9 MB / 1.117 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001851/0.3271, allocations: 0.644 MB / 1.118 GB, free: 1.832 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3287, allocations: 1.202 MB / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.3288, allocations: 0 / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.3288, allocations: 7.875 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.3289, allocations: 19.86 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.3295, allocations: 223.5 kB / 1.119 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3298, allocations: 167.8 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.761e-05/0.3299, allocations: 11.94 kB / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.33, allocations: 67.89 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3301, allocations: 51.84 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3301, allocations: 20 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.3302, allocations: 27.94 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.3302, allocations: 15.92 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.3303, allocations: 51.97 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.3305, allocations: 147.5 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3305, allocations: 4 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3306, allocations: 0 / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3306, allocations: 0 / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004959/0.3311, allocations: 361.5 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3311, allocations: 15.97 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3311, allocations: 12.94 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3312, allocations: 110.5 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3313, allocations: 8.359 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3313, allocations: 16.38 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.3314, allocations: 46.19 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3314, allocations: 192 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3314, allocations: 3.938 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3314, allocations: 0 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.3315, allocations: 15.98 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.3319, allocations: 272.5 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.332, allocations: 30.52 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.3321, allocations: 24.88 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3321, allocations: 0 / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.3322, allocations: 83.33 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3322, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002475/0.3324, allocations: 113.5 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3325, allocations: 55.41 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3326, allocations: 117.8 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3326, allocations: 29.7 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.3327, allocations: 92.14 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.3327, allocations: 7.906 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.3328, allocations: 57.67 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.333, allocations: 318.8 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3332, allocations: 119.4 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3334, allocations: 155.7 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.3336, allocations: 167.9 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3336, allocations: 0 / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005168/0.3341, allocations: 328.2 kB / 1.122 GB, free: 13.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.3342, allocations: 74.14 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3342, allocations: 0 / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3342, allocations: 4 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.3342, allocations: 0 / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3342, allocations: 7.938 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3346, allocations: 63.94 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3346, allocations: 12 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001139/0.3347, allocations: 125.8 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.3347, allocations: 4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.3347, allocations: 8.438 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3347, allocations: 4 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3348, allocations: 3.938 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3348, allocations: 0 / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3349, allocations: 117.2 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3349, allocations: 0 / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.3349, allocations: 16.05 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3349, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3349, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3349, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3349, allocations: 3.984 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3351, allocations: 121 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.3351, allocations: 3.953 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3351, allocations: 4 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.3351, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3352, allocations: 7.984 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3352, allocations: 4 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.3352, allocations: 103.1 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002451/0.3355, allocations: 28 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001312/0.3356, allocations: 103.2 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.336, allocations: 274.1 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.336, allocations: 0 / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.3361, allocations: 19.98 kB / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3363, allocations: 24.17 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3367, allocations: 162.7 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.3367, allocations: 67.34 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.3368, allocations: 7.984 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3368, allocations: 12.5 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.3368, allocations: 3.938 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of Templates: time 0.005544/0.3423, allocations: 2.041 MB / 1.126 GB, free: 9.512 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.73811856098473]