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.0008717/0.0008717, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001025/0.001025, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9073/0.9073, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.067e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001779/0.00181, allocations: 0.653 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002983, allocations: 1.21 MB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.003034, allocations: 0 / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003066, allocations: 7.922 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.003134, allocations: 11.94 kB / 0.9536 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.003685, allocations: 222.2 kB / 0.9538 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.003866, allocations: 167.7 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.003961, allocations: 8 kB / 0.954 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.004075, allocations: 95.86 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004176, allocations: 55.84 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.0042, allocations: 12 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.004263, allocations: 39.92 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.004282, allocations: 3.984 kB / 0.9542 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.004342, allocations: 51.95 kB / 0.9542 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.004543, allocations: 179.6 kB / 0.9544 GB, free: 276 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004545, allocations: 0 / 0.9544 GB, free: 276 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004546, allocations: 3.938 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00455, allocations: 0 / 0.9544 GB, free: 272 kB / 0.9011 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.0004657/0.005016, allocations: 361.5 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.005057, allocations: 8.031 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.005111, allocations: 12.89 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.005198, allocations: 121.7 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005212, allocations: 4.375 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.005234, allocations: 12.38 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005339, allocations: 50.25 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005348, allocations: 192 / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.005357, allocations: 384 / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.005365, allocations: 4.359 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.005401, allocations: 19.88 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.005791, allocations: 272.4 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.00587, allocations: 34.56 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.005893, allocations: 16.86 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.005908, allocations: 0 / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.00607, allocations: 83.34 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.006071, allocations: 4 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002338/0.006305, allocations: 101.6 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.006348, allocations: 59.39 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.006427, allocations: 117.8 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.006453, allocations: 33.7 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.006503, allocations: 92.09 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.006517, allocations: 11.94 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.006581, allocations: 53.62 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.006667, allocations: 318.8 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.006792, allocations: 123.4 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.006924, allocations: 147.7 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.007072, allocations: 163.6 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007074, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003137/0.007388, allocations: 328.3 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.007434, allocations: 71.39 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.00744, allocations: 0 / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007454, allocations: 0 / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.007473, allocations: 7.984 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007478, allocations: 3.938 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.007682, allocations: 55.83 kB / 0.9569 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.007704, allocations: 16 kB / 0.957 GB, free: 13.32 MB / 0.9167 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 8.018e-05/0.007784, allocations: 125.9 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.007795, allocations: 11.89 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.007819, allocations: 8.438 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007822, allocations: 3.984 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.007829, allocations: 0 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.007832, allocations: 480 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.007915, allocations: 121.3 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007916, allocations: 0 / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-06/0.007922, allocations: 0 / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007925, allocations: 7.875 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.007932, allocations: 15.94 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007934, allocations: 4.375 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.007941, allocations: 3.938 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.008048, allocations: 105.1 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.008058, allocations: 7.953 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.00807, allocations: 7.938 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.008081, allocations: 0 / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.008115, allocations: 7.984 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.00812, allocations: 4 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.008156, allocations: 91.27 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008156, allocations: 4 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001654/0.008321, allocations: 31.94 kB / 0.9575 GB, free: 12.71 MB / 0.9167 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.0001238/0.008445, allocations: 103.2 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.008705, allocations: 282.1 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008707, allocations: 3.938 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.008741, allocations: 19.98 kB / 0.9579 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.008931, allocations: 23.33 kB / 0.9579 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.009211, allocations: 187.1 kB / 0.9581 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.009254, allocations: 75.23 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.009274, allocations: 16.5 kB / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.009275, allocations: 0 / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.002375/0.01165, allocations: 1.402 MB / 0.9596 GB, free: 10.53 MB / 0.9167 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 -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/jenkins/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: 6.3899707198143005]