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.001533/0.001533, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001539/0.001539, allocations: 219.1 kB / 22.99 MB, free: 4.965 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.845/2.845, allocations: 476 MB / 0.7707 GB, free: 4.922 MB / 0.6231 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.002183/0.002183, allocations: 64.09 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002051/0.3278, allocations: 0.6491 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3294, allocations: 1.2 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.3294, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.3295, allocations: 3.938 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.3296, allocations: 19.86 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.3302, allocations: 216.3 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3304, allocations: 175.6 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.3305, allocations: 11.98 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.3306, allocations: 67.89 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3307, allocations: 47.86 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3307, allocations: 20 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.3308, allocations: 31.97 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3309, allocations: 7.938 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.3309, allocations: 55.89 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.3311, allocations: 151.5 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3312, allocations: 0 / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3312, allocations: 4 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3312, allocations: 0 / 1.286 GB, free: 9.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005384/0.3317, allocations: 357.5 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3317, allocations: 8.031 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.3318, allocations: 16.86 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3319, allocations: 114.5 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3319, allocations: 4.375 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.332, allocations: 16.38 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3321, allocations: 46.23 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3321, allocations: 192 / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3321, allocations: 3.938 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3321, allocations: 4 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.3321, allocations: 15.94 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.3326, allocations: 272.5 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.3327, allocations: 34.56 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.3327, allocations: 20.8 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.3327, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.3329, allocations: 95.33 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3329, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002519/0.3331, allocations: 101.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3332, allocations: 51.41 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3333, allocations: 125.7 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3333, allocations: 33.7 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3334, allocations: 96.12 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.3334, allocations: 11.89 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.3335, allocations: 53.69 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3337, allocations: 318.8 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3339, allocations: 119.4 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3341, allocations: 151.7 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3343, allocations: 163.5 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3343, allocations: 0 / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004891/0.3348, allocations: 332.3 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.3348, allocations: 67.39 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3349, allocations: 7.984 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.823e-05/0.3349, allocations: 3.938 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3349, allocations: 4 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3352, allocations: 51.94 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3353, allocations: 16.55 kB / 1.289 GB, free: 6.367 MB / 0.9825 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.0001149/0.3354, allocations: 129.7 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.3354, allocations: 7.953 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3354, allocations: 8.375 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3354, allocations: 0 / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3354, allocations: 7.938 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3354, allocations: 3.984 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3356, allocations: 117.2 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3356, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.3356, allocations: 7.938 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3356, allocations: 4 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3356, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3356, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3356, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3358, allocations: 121 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.3358, allocations: 4.016 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3358, allocations: 7.984 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.3358, allocations: 4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3358, allocations: 4 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3358, allocations: 7.984 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.3359, allocations: 87.28 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3359, allocations: 4 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002406/0.3361, allocations: 31.98 kB / 1.289 GB, free: 5.762 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: 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.00015/0.3363, allocations: 107.1 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.3367, allocations: 278.1 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3367, allocations: 0 / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.3367, allocations: 20 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.337, allocations: 25.89 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3373, allocations: 184.5 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.3374, allocations: 75.33 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.3374, allocations: 11.44 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3374, allocations: 4.219 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of Templates: time 0.003275/0.3407, allocations: 1.392 MB / 1.292 GB, free: 3.598 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 11.168812993913889]