Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0009173/0.0009173, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009315/0.0009315, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9192/0.9192, allocations: 177.1 MB / 204.6 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.931/1.931, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.977e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00134/0.00136, allocations: 0.7091 MB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.002615, allocations: 1.244 MB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.002655, allocations: 0 / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.002686, allocations: 7.562 kB / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.002766, allocations: 11.53 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.003214, allocations: 208.1 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.0034, allocations: 176.9 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.003473, allocations: 11.98 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.003572, allocations: 94 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.003672, allocations: 55.78 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.003698, allocations: 16 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.003767, allocations: 23.98 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.003786, allocations: 8 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.003837, allocations: 59.88 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.003983, allocations: 139.6 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003985, allocations: 0 / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003986, allocations: 0.7188 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.00399, allocations: 0 / 0.7779 GB, free: 2.645 MB / 0.7292 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.000356/0.004346, allocations: 328.7 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.004384, allocations: 9.344 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.004423, allocations: 13.45 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.004502, allocations: 114.6 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.004515, allocations: 8.375 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.004534, allocations: 13.69 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.004599, allocations: 42.17 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004605, allocations: 192 / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004611, allocations: 384 / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.004618, allocations: 5.188 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.004636, allocations: 15.92 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.004872, allocations: 177.7 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.004921, allocations: 30.55 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004936, allocations: 16.78 kB / 0.7786 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.004946, allocations: 0.5312 kB / 0.7786 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.92e-05/0.005025, allocations: 76.27 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.005026, allocations: 0 / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001214/0.005147, allocations: 79.3 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.005174, allocations: 55.34 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.00524, allocations: 118.7 kB / 0.7789 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.005259, allocations: 33.7 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.005299, allocations: 96.08 kB / 0.7791 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.005309, allocations: 12.39 kB / 0.7791 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.005362, allocations: 50.27 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.005443, allocations: 318.8 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.005512, allocations: 96.97 kB / 0.7795 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.005588, allocations: 126.8 kB / 0.7796 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.00568, allocations: 145.3 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005682, allocations: 0 / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001793/0.005861, allocations: 261.7 kB / 0.78 GB, free: 208 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.005899, allocations: 81.3 kB / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005905, allocations: 3.938 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005917, allocations: 0.6562 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.005932, allocations: 5.344 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005937, allocations: 3.984 kB / 0.7801 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.00608, allocations: 36.47 kB / 0.7802 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.006099, allocations: 13.11 kB / 0.7802 GB, free: 56 kB / 0.7292 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,nand1.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.019e-05/0.006179, allocations: 120.7 kB / 0.7803 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.006189, allocations: 13.05 kB / 0.7803 GB, free: 15.92 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.00621, allocations: 12.38 kB / 0.7803 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006212, allocations: 3.938 kB / 0.7803 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006214, allocations: 0.5 kB / 0.7803 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006216, allocations: 1.562 kB / 0.7803 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.013e-05/0.006277, allocations: 77.88 kB / 0.7804 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006278, allocations: 0 / 0.7804 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-06/0.006282, allocations: 0 / 0.7804 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.006285, allocations: 0.9688 kB / 0.7804 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.00629, allocations: 8 kB / 0.7804 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006291, allocations: 0 / 0.7804 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006293, allocations: 5.156 kB / 0.7804 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.006358, allocations: 81.09 kB / 0.7805 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.006365, allocations: 7.938 kB / 0.7805 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.006374, allocations: 5.156 kB / 0.7805 GB, free: 15.69 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.006383, allocations: 0 / 0.7805 GB, free: 15.69 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.006408, allocations: 15.86 kB / 0.7805 GB, free: 15.68 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006411, allocations: 4 kB / 0.7805 GB, free: 15.67 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.006424, allocations: 14.55 kB / 0.7805 GB, free: 15.66 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4e-08/0.006424, allocations: 0 / 0.7805 GB, free: 15.66 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001227/0.006547, allocations: 31.98 kB / 0.7806 GB, free: 15.62 MB / 0.7449 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,nand1.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 7.606e-05/0.006623, allocations: 81.8 kB / 0.7806 GB, free: 15.54 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.006799, allocations: 256.4 kB / 0.7809 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.006803, allocations: 4 kB / 0.7809 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.006825, allocations: 24.84 kB / 0.7809 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.271e-05/0.006918, allocations: 21.95 kB / 0.7809 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.007139, allocations: 164.9 kB / 0.7811 GB, free: 15 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.00717, allocations: 55.98 kB / 0.7811 GB, free: 14.93 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.007191, allocations: 12.38 kB / 0.7812 GB, free: 14.91 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.007282, allocations: 83.97 kB / 0.7812 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of SimCode: time 3.71e-07/0.007283, allocations: 0 / 0.7812 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of Templates: time 0.003317/0.0106, allocations: 2.212 MB / 0.7834 GB, free: 12.74 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.936095722019672]