Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.0009147/0.0009147, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003714/0.003714, allocations: 161.9 kB / 24.38 MB, free: 9.16 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.9756/0.9756, allocations: 177.1 MB / 204.8 MB, free: 5.402 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.883/1.883, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.7756 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.298e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002156/0.002189, allocations: 0.7057 MB / 0.7763 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.003893, allocations: 1.242 MB / 0.7775 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.003947, allocations: 0 / 0.7775 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.003989, allocations: 3.938 kB / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.004086, allocations: 12.3 kB / 0.7775 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.004754, allocations: 205.1 kB / 0.7777 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.005044, allocations: 181.4 kB / 0.7779 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005149, allocations: 15.94 kB / 0.7779 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.005333, allocations: 99.84 kB / 0.778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005483, allocations: 43.92 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.005524, allocations: 16 kB / 0.778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.005639, allocations: 35.97 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.005663, allocations: 7.938 kB / 0.7781 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.00573, allocations: 51.94 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.005941, allocations: 139.2 kB / 0.7783 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.005947, allocations: 0 / 0.7783 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005949, allocations: 0 / 0.7783 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.005953, allocations: 0 / 0.7783 GB, free: 2.43 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.0004575/0.006411, allocations: 324.2 kB / 0.7786 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.006456, allocations: 9.344 kB / 0.7786 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.006514, allocations: 24.92 kB / 0.7786 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.006618, allocations: 117.7 kB / 0.7787 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.006636, allocations: 4.375 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.006665, allocations: 9.375 kB / 0.7787 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.006755, allocations: 46.23 kB / 0.7788 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006763, allocations: 192 / 0.7788 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.006771, allocations: 1.25 kB / 0.7788 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.006777, allocations: 4.312 kB / 0.7788 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.006801, allocations: 16.45 kB / 0.7788 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.00713, allocations: 176.9 kB / 0.779 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.007198, allocations: 27.67 kB / 0.779 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.007217, allocations: 12.92 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.007224, allocations: 0 / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.007355, allocations: 80.06 kB / 0.7791 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.007356, allocations: 0 / 0.7791 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.00017/0.007526, allocations: 75.12 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.00758, allocations: 63.33 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.007671, allocations: 114.7 kB / 0.7793 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.007697, allocations: 29.7 kB / 0.7793 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.007755, allocations: 92.7 kB / 0.7794 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.007776, allocations: 28.94 kB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.007861, allocations: 45.67 kB / 0.7795 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.007958, allocations: 310.8 kB / 0.7798 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.008068, allocations: 101.1 kB / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.008179, allocations: 139.6 kB / 0.78 GB, free: 432 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.008458, allocations: 144.8 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.008461, allocations: 0 / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002886/0.008749, allocations: 269.8 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.008809, allocations: 67.39 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.008818, allocations: 12.73 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.008829, allocations: 0 / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.008852, allocations: 8.875 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.008856, allocations: 0 / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.009066, allocations: 41.33 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.009098, allocations: 11.98 kB / 0.7806 GB, free: 15.81 MB / 0.7448 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,xor1.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 9.746e-05/0.009195, allocations: 118.8 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.009211, allocations: 4 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.009249, allocations: 21.83 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009252, allocations: 0 / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009255, allocations: 0 / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.00926, allocations: 0 / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.009363, allocations: 79 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.009366, allocations: 8 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.009379, allocations: 0 / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.009383, allocations: 1.062 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.009391, allocations: 0 / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.009394, allocations: 4 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.009398, allocations: 4.438 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.009524, allocations: 82.17 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.009539, allocations: 7.938 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.009555, allocations: 7.984 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.00958, allocations: 0.9375 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.009624, allocations: 7.922 kB / 0.7809 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.009632, allocations: 4 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.009668, allocations: 21.61 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009668, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002101/0.009879, allocations: 33.05 kB / 0.7809 GB, free: 15.38 MB / 0.7448 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,xor1.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.0001848/0.01006, allocations: 85.86 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.01034, allocations: 261.4 kB / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.01034, allocations: 9.406 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.01038, allocations: 20.84 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01057, allocations: 17.48 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01094, allocations: 161.5 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.01098, allocations: 55.36 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.01102, allocations: 13.5 kB / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.01115, allocations: 75.36 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01115, allocations: 0 / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.005223/0.01637, allocations: 2.238 MB / 0.7838 GB, free: 12.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.998113163746893]