Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001931/0.3164, allocations: 0.6698 MB / 1.215 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.318, allocations: 1.199 MB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.3181, allocations: 4 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3181, allocations: 3.938 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.3182, allocations: 11.92 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.3188, allocations: 210.9 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3191, allocations: 171.8 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.3191, allocations: 8 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3193, allocations: 79.81 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3194, allocations: 63.78 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.3194, allocations: 16 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.3195, allocations: 27.98 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.3195, allocations: 11.92 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.3196, allocations: 55.84 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3198, allocations: 147.6 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3198, allocations: 4 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3198, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3199, allocations: 4 kB / 1.217 GB, free: 14.29 MB / 0.9669 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.000604/0.3205, allocations: 438.6 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3205, allocations: 8.031 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.3206, allocations: 16.88 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3207, allocations: 168.3 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3207, allocations: 4.375 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3208, allocations: 8.375 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3209, allocations: 54.23 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3209, allocations: 192 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3209, allocations: 3.938 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3209, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.321, allocations: 16 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.3214, allocations: 352.7 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.3215, allocations: 46.44 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.3216, allocations: 12.86 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3216, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.3218, allocations: 83.44 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3218, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002639/0.322, allocations: 109.6 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3221, allocations: 51.41 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3222, allocations: 121.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3222, allocations: 29.7 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.3223, allocations: 104.1 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3223, allocations: 11.91 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3224, allocations: 53.69 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3225, allocations: 322.8 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3227, allocations: 55.97 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3228, allocations: 96.2 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.323, allocations: 159.6 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.323, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004458/0.3235, allocations: 260.9 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.3236, allocations: 67.39 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3236, allocations: 4 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3236, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.3236, allocations: 8.125 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3236, allocations: 0 / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3239, allocations: 51.89 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.324, allocations: 16.05 kB / 1.219 GB, free: 11.3 MB / 0.9669 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.0001168/0.3241, allocations: 129.7 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.3241, allocations: 11.95 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.3242, allocations: 16.36 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3242, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3242, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3242, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3243, allocations: 182 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3243, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.3243, allocations: 3.984 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3243, allocations: 4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3244, allocations: 3.938 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3244, allocations: 3.938 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3244, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.3245, allocations: 116.9 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3246, allocations: 77.11 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.3246, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3247, allocations: 11.98 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3247, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.3247, allocations: 95.27 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3247, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002394/0.325, allocations: 28 kB / 1.22 GB, free: 10.53 MB / 0.9669 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.0001749/0.3251, allocations: 107.2 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3255, allocations: 214.6 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3255, allocations: 0 / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.3256, allocations: 28.31 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3258, allocations: 24.38 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3262, allocations: 188.3 kB / 1.22 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3265, allocations: 0.6885 MB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3265, allocations: 11.44 kB / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3265, allocations: 0 / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.003401/0.3299, allocations: 1.394 MB / 1.223 GB, free: 7.801 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.22844122396782]